def test_new_rectangle_from_circle(self): circ = Circle(1 , 5, 3) circ_new_rectangle = circ.circle_new_circle_to_rectangle() self.assertTrue(circ_new_rectangle.x, circ.circle_max_x_position()) self.assertTrue(circ_new_rectangle.y, circ.circle_max_y_position())
def test_max_y_coordinates_for_a_Circle(self): circ = Circle(1, 5, 4) self.assertEquals(13, circ.circle_max_y_position())