diff --git a/app/tests/Domain/Entity/EpisodeTest.php b/app/tests/Domain/Entity/EpisodeTest.php index 29e9c3e..0e3e84c 100644 --- a/app/tests/Domain/Entity/EpisodeTest.php +++ b/app/tests/Domain/Entity/EpisodeTest.php @@ -16,6 +16,17 @@ class EpisodeTest extends TestCase $r = Episode::parseDurationFromLength($oneHourThirtyMinutes); $this->assertEquals("01:30:00", $r); - } + $r = Episode::parseDurationFromLength($fortyNineMinutesEightSeconds); + $this->assertEquals("49:08", $r); + + $r = Episode::parseDurationFromLength($fourMinutesTwentySeconds); + $this->assertEquals("04:20", $r); // nice! + + $r = Episode::parseDurationFromLength($sixMinutesNineSeconds); + $this->assertEquals("06:09", $r); // nice! + + $r = Episode::parseDurationFromLength($twentyThreeHoursFortyThreeMinutesTwelveSeconds); + $this->assertEquals("23:43:12", $r); + } }