mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
min/max abs tests
This commit is contained in:
parent
96bf75469a
commit
ff48bf0899
1 changed files with 2 additions and 0 deletions
|
@ -591,6 +591,8 @@ fn f64_round() {
|
|||
fn f64_abs() {
|
||||
assert_evals_to!("Num.abs -4.7", 4.7, f64);
|
||||
assert_evals_to!("Num.abs 5.8", 5.8, f64);
|
||||
assert_evals_to!("Num.abs Num.maxF64", f64::MAX, f64);
|
||||
assert_evals_to!("Num.abs Num.minF64", f64::MAX, f64);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue