def test_ANA20180812(self): (visitor, home, hits, outs, plays) = GamesParse.parse_file_for_game(file_path, 'ANA201808120') self.assertEqual(("OAK", "ANA", 11, 27), (visitor, home, hits, outs))
def test_ANA20180706(self): (visitor, home, hits, outs, plays) = GamesParse.parse_file_for_game(file_path, 'ANA201807060') self.assertEqual(("LAN", "ANA", 5, 26), (visitor, home, hits, outs))
def test_ANA20180618(self): (visitor, home, hits, outs, plays) = GamesParse.parse_file_for_game(file_path, "ANA201806180") self.assertEqual(("ARI", "ANA", 12, 27), (visitor, home, hits, outs))
def test_ANA20180402(self): (visitor, home, hits, outs, plays) = GamesParse.parse_file_for_game(file_path, "ANA201804020") self.assertEqual(("CLE", "ANA", 6, 27), (visitor, home, hits, outs))
def test_ANA20180427(self): (visitor, home, hits, outs, plays) = GamesParse.parse_file_for_game(file_path, "ANA201804270") self.assertEqual(("NYA", "ANA", 6, 30), (visitor, home, hits, outs))
def test_ANA20180408(self): (visitor, home, hits, outs, plays) = GamesParse.parse_file_for_game(file_path, "ANA201804080") self.assertEqual(("OAK", "ANA", 7, 24), (visitor, home, hits, outs))