Idris2/tests/idris2/interpreter004/expected
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
376 B
Plaintext

Main> "Int"
Main> 12
Main> 12
Main> 12
Main> 12
Main> "Negative Int"
Main> -12
Main> -13
Main> -13
Main> -13
Main> "Integer"
Main> 12
Main> 12
Main> 12
Main> 12
Main> "Negative Integer"
Main> -12
Main> -13
Main> -13
Main> -13
Main> "Double"
Main> 12.0
Main> 12.3
Main> 12.5
Main> 12.7
Main> "Negative Double"
Main> -12.0
Main> -12.3
Main> -12.5
Main> -12.7
Main> Bye for now!