def test_distance_is_greater_that_zero_if_possition_are_differente(self): first_position = Position() second_position = Position(1,1) self.assertTrue(first_position.distance_to(second_position)>0)
def test_distance_to_same_possition_is_zero(self): position = Position(1, 3) self.assertEqual(0, position.distance_to(position))