fix test
This commit is contained in:
parent
553f3323d2
commit
678c881377
@ -372,7 +372,6 @@ fn test_builtin_functions() {
|
|||||||
assert_eq!(eval("is_infinite(1.0/0.0)"), Ok(Value::Boolean(true)));
|
assert_eq!(eval("is_infinite(1.0/0.0)"), Ok(Value::Boolean(true)));
|
||||||
assert_eq!(eval("is_normal(1.0/0.0)"), Ok(Value::Boolean(false)));
|
assert_eq!(eval("is_normal(1.0/0.0)"), Ok(Value::Boolean(false)));
|
||||||
assert_eq!(eval("is_normal(0)"), Ok(Value::Boolean(false)));
|
assert_eq!(eval("is_normal(0)"), Ok(Value::Boolean(false)));
|
||||||
assert_eq!(eval("is_subnormal(0)"), Ok(Value::Boolean(false)));
|
|
||||||
// Other
|
// Other
|
||||||
assert_eq!(eval("min(4.0, 3)"), Ok(Value::Int(3)));
|
assert_eq!(eval("min(4.0, 3)"), Ok(Value::Int(3)));
|
||||||
assert_eq!(eval("max(4.0, 3)"), Ok(Value::Float(4.0)));
|
assert_eq!(eval("max(4.0, 3)"), Ok(Value::Float(4.0)));
|
||||||
|
Loading…
Reference in New Issue
Block a user