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