A fork of Simple Time Tracker with WearOS support. (Now integrated upstream)
0

Configure Feed

Select the types of activity you want to include in your feed.

fix: Correct `map` test in `UnCoveredRangesMapper`

The test was failing erroneously due to an incorrectly written
Range in the expected output.

By making the expected output follow the same format as the
other tests, the failing test began passing once again.

Joseph Hale (Feb 26, 2024, 10:23 PM -0700) c69bc685 86ab0ef2

+1 -1
+1 -1
domain/src/test/java/com/example/util/simpletimetracker/domain/mapper/UnCoveredRangesMapperTest.kt
··· 61 61 ), 62 62 arrayOf( 63 63 listOf(0L, 10L, listOf(Range(0L, 0L), Range(5L, 5L), Range(10L, 10L))), 64 - listOf(0L to 5L, Range(5L, 10L)), 64 + listOf(Range(0L, 5L), Range(5L, 10L)), 65 65 ), 66 66 67 67 // Segments on range points