Bring back the now marker without crossing titles, new icons and app icon (0.65.0)
pauljd/davidson-ci: Davidson CI / quality (push) Failing after 1m51s
pauljd/davidson-ci: Davidson CI / ai-review (push) Failing after 1m23s

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-11-02 11:19:07 +00:00
co-authored by Claude Opus 5.5
parent 93fe749b63
commit 5257ffdad8
20 changed files with 85 additions and 11 deletions
@@ -96,4 +96,12 @@ class GuideGridTest {
assertEquals(1, guideFirstRow(5, 0, 6, 11))
assertEquals(5, guideFirstRow(10, 0, 6, 11))
}
@Test
fun nowOnlyShowsWhileItIsInTheWindow() {
assertEquals(0.25f, guideNowFraction(1_250, 1_000, 2_000)!!, 0.001f)
assertEquals(0f, guideNowFraction(1_000, 1_000, 2_000)!!, 0.001f)
assertNull(guideNowFraction(999, 1_000, 2_000))
assertNull(guideNowFraction(2_000, 1_000, 2_000))
}
}