Idris2/tests/idris2/interpreter004/input
Guillaume ALLAIS cc31076849 [ test ] more corner cases
Making sure the test can distinguish between truncating & rounding.
2020-09-23 19:48:58 +01:00

32 lines
676 B
Plaintext

"Int"
the Int (cast "12.0")
the Int (cast "12.3")
the Int (cast "12.5")
the Int (cast "12.7")
"Negative Int"
the Int (cast "-12.0")
the Int (cast "-12.3")
the Int (cast "-12.5")
the Int (cast "-12.7")
"Integer"
the Integer (cast "12.0")
the Integer (cast "12.3")
the Integer (cast "12.5")
the Integer (cast "12.7")
"Negative Integer"
the Integer (cast "-12.0")
the Integer (cast "-12.3")
the Integer (cast "-12.5")
the Integer (cast "-12.7")
"Double"
the Double (cast "12.0")
the Double (cast "12.3")
the Double (cast "12.5")
the Double (cast "12.7")
"Negative Double"
the Double (cast "-12.0")
the Double (cast "-12.3")
the Double (cast "-12.5")
the Double (cast "-12.7")
:q