Give Vortex a Toonami-inspired lineup (0.45.0 in testing)
pauljd/davidson-ci: Davidson CI / quality (push) Failing after 1m29s
pauljd/davidson-ci: Davidson CI / ai-review (push) Failing after 1m29s

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-11-02 07:04:55 +00:00
co-authored by Claude Opus 5.5
parent 64c2604f03
commit e1dd5b363b
5 changed files with 21 additions and 8 deletions
@@ -85,4 +85,13 @@ class ChannelSuggestionsTest {
assertEquals("day", SmartChannels.first { it.number == 102 }.dayParts[1].group)
assertEquals(listOf("day", "night"), SmartChannels.first { it.number == 103 }.dayParts.map { it.group })
}
@Test fun vortexKeepsPaulsToonamiPicksInTheRightBlocks() {
val vortex = SmartChannels.first { it.number == 103 }
val day = vortex.dayParts[0].titles.map(::seriesKey)
assertTrue(listOf("Batman Beyond", "Batman: The Animated Series", "ThunderCats", "The Powerpuff Girls", "Jonny Quest").all { seriesKey(it) in day })
assertTrue(seriesKey("Dragon Ball Z") in vortex.dayParts[1].titles.map(::seriesKey))
assertEquals(vortex.searches.size, vortex.searches.distinct().size)
assertTrue(vortex.seriesCount >= vortex.searches.size)
}
}