Commit e855101f authored by 35V LG84's avatar 35V LG84

tests: TacklerReal: Add few test cases

Add test cases for ZERO with different scales.
Signed-off-by: 35V LG84's avatar35V LG84 <35vlg84-x4e6b92@e257.fi>
parent 7c444e81
......@@ -155,7 +155,9 @@ class TacklerRealTest extends FunSpec {
assert(TacklerReal(0).isZero === true)
assert(TacklerReal(0L).isZero === true)
assert(TacklerReal(0.0).isZero === true)
assert(TacklerReal(0.000000000000000000000).isZero === true)
assert(TacklerReal("0").isZero === true)
assert(TacklerReal("0.000000000000000000000").isZero === true)
assert(ZERO.isZero === true)
}
......
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