Esempio n. 1
0
 def main(*argv):
     "Square test program."
     print Square.main.__doc__
     c = Square(Point(0, 0), 1)
     GraphicalObject.test(c)
     return 0
Esempio n. 2
0
    def main(*argv):
	"Circle test program."
	print Circle.main.__doc__
	c = Circle(Point(0,0), 1)
	GraphicalObject.test(c)
	return 0
Esempio n. 3
0
 def main(*argv):
     "Circle test program."
     print((Circle.main.__doc__))
     c = Circle(Point(0, 0), 1)
     GraphicalObject.test(c)
     return 0
Esempio n. 4
0
 def main(*argv):
     "Rectangle test program."
     print Rectangle.main.__doc__
     c = Rectangle(Point(0, 0), 1, 2)
     GraphicalObject.test(c)
     return 0
Esempio n. 5
0
    def main(*argv):
	"Square test program."
	print Square.main.__doc__
	c = Square(Point(0,0), 1)
	GraphicalObject.test(c)
	return 0
Esempio n. 6
0
    def main(*argv):
	"Rectangle test program."
	print Rectangle.main.__doc__
	c = Rectangle(Point(0,0), 1, 2)
	GraphicalObject.test(c)
	return 0