def run (autoTester):
	class A:
		p = 123
		def __init__ (self, x):
			self.x = x
			autoTester.check (self.p)

		def show (self, label):
			autoTester.check ('A.show', label, self.x)
			
		def show2 (self, label):
			autoTester.check ('A.show2', label, self.x)
		
	class B:
		p, q = 456, 789
		def __init__ (self, y):
			autoTester.check ('In B constructor')
			self.y = y
			autoTester.check (self.p)
			
		def show (self, label):
			autoTester.check ('B.show', label, self.y)
			
	class C (A, B):
		def __init__ (self, x, y):
			autoTester.check ('In C constructor')
			A.__init__ (self, x)
			B.__init__ (self, y)
			
		def show (self, label):
			A.show (self, label)
			B.show (self, label)
			autoTester.check ('C.show', label, self.x, self.y)
		
	a = A (1001)
	a.show ('america')
	autoTester.check (A.p)
	autoTester.check (a.p)

	b = B (2002)
	b.show ('russia')
	autoTester.check (B.p)
	autoTester.check (b.p)
	autoTester.check (b.q)

	autoTester.check (A.p)
	autoTester.check (a.p)

	c = C (3003, 4004)
	c.show ('netherlands')
	autoTester.check (C.p)
	autoTester.check (c.p)
	autoTester.check (c.q)

	c.show2 ('amsterdam')
	A.show2 (c, 'rotterdam')

	show3 = c.show
	show3 ('copy')
