Hi, having trouble testing to see whether a double...
# kotlintest
i
Hi, having trouble testing to see whether a double is between two values. I realize I could do it the “dumb” way -
((0.0 .. 1.0).contains(v) shouldBe true
, but then I don’t get useful info (like the actual value of v) if the test fails. Any ideas?