Exemplo n.º 1
0
 def test_closest_match2(self):
     test = Player("Boggs, W", None, None, None, None)
     result = test.find_closest_name(self.lineup)
     self.assertEqual(result, self.lineup.find_player_by_number(26))
Exemplo n.º 2
0
 def test_closest_match2(self):
     test = Player("Boggs, W", None, None, None, None)
     result = test.find_closest_name(self.lineup)
     self.assertEqual(result, self.lineup.find_player_by_number(26))
Exemplo n.º 3
0
 def test_closest_match(self):
     test = Player("Wade Boggs", None, 1, None, LEFT)
     result = test.find_closest_name(self.lineup)
     self.assertEqual(result, self.lineup.find_player_by_number(26))
Exemplo n.º 4
0
 def test_closest_match(self):
     test = Player("Wade Boggs", None, 1, None, LEFT)
     result = test.find_closest_name(self.lineup)
     self.assertEqual(result, self.lineup.find_player_by_number(26))