Example #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))
Example #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))
Example #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))
Example #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))