Example #1
0
 def test_position_with_no_params_corresponds_to_origin(self):
     position = Position()
     self.assertEqual(0,position.x())
     self.assertEqual(0, position.y())
Example #2
0
 def test_position_can_be_created_with_x_and_y_params(self):
     position = Position(2,3)
     self.assertEqual(2, position.x())
     self.assertEqual(3, position.y())