Bring back the now marker without crossing titles, new icons and app icon (0.65.0)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user