Play the tuned channel live in the guide's picture slot (0.27.0)
pauljd/davidson-ci: Davidson CI / quality (push) Failing after 1m37s
pauljd/davidson-ci: Davidson CI / ai-review (push) Failing after 1m26s

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-11-01 22:46:58 +00:00
co-authored by Claude Opus 5.5
parent 4e154081bc
commit 4ae5f8d8ed
9 changed files with 154 additions and 9 deletions
@@ -52,4 +52,11 @@ class GuideGridTest {
val later = current.endMs + minute
assertEquals(current.endMs - 1, guideStep(channel, later, now, false))
}
@Test
fun aProgrammeOnlyOpensIfItStillFitsItsSlot() {
assertTrue(scheduledRuntimeMatches(1_000_000, 1_001_500))
assertFalse(scheduledRuntimeMatches(1_000_000, 1_002_001))
assertFalse(scheduledRuntimeMatches(null, 1_000_000))
}
}