We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a92db7 commit a99e791Copy full SHA for a99e791
core/src/commonTest/kotlin/com/powersync/sync/ProgressTest.kt
@@ -6,10 +6,10 @@ import kotlin.test.assertEquals
6
class ProgressTest {
7
@Test
8
fun reportsFraction() {
9
- assertEquals(0.0, ProgressWithOperations(0, 10).fraction)
10
- assertEquals(0.5, ProgressWithOperations(5, 10).fraction)
11
- assertEquals(1.0, ProgressWithOperations(10, 10).fraction)
+ assertEquals(0.0f, ProgressWithOperations(0, 10).fraction)
+ assertEquals(0.5f, ProgressWithOperations(5, 10).fraction)
+ assertEquals(1.0f, ProgressWithOperations(10, 10).fraction)
12
13
- assertEquals(0.0, ProgressWithOperations(0, 0).fraction)
+ assertEquals(0.0f, ProgressWithOperations(0, 0).fraction)
14
}
15
0 commit comments