Commit 29b15858 authored by Joey's avatar Joey

data: fix insulin displayedString() test

To match new behaivour
Signed-off-by: Joey's avatarJoey <bevilacquajoey@gmail.com>
Change-Id: I4e168dec15925af11bb523e70742075bf55104a5
parent 43e47471
Pipeline #69736301 passed with stage
in 10 minutes and 53 seconds
......@@ -39,9 +39,9 @@ class InsulinTest {
@Test
fun getDisplayedString() {
val insulin = insulin { name = "test" }
assertEquals("test 10.5", insulin.getDisplayedString(10.54f))
val a = insulin { name = "test" }
assertEquals("10.5 test", a.getDisplayedString(10.5f))
assertEquals("2 test", a.getDisplayedString(2.0f))
}
@Test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment