def test_parse_seconds_played_for_empty_string(self): self.assertEqual(0, box_scores.parse_seconds_played(""))
def test_parse_seconds_played_for_60_minutes_and_1_second(self): self.assertEqual(3601, box_scores.parse_seconds_played("60:01"))
def test_parse_seconds_played_for_60_minutes(self): self.assertEqual(3600, box_scores.parse_seconds_played("60:00"))
def test_parse_seconds_played_for_59_minutes_59_seconds(self): self.assertEqual(3599, box_scores.parse_seconds_played("59:59"))
def test_parse_seconds_played_for_61_seconds(self): self.assertEqual(61, box_scores.parse_seconds_played("1:01"))
def test_parse_seconds_played_for_59_seconds(self): self.assertEqual(59, box_scores.parse_seconds_played("0:59"))