()
| 1220 | |
| 1221 | #[test] |
| 1222 | fn test_atn() { |
| 1223 | check_expr_ok(123f64.atan(), "ATN(123)"); |
| 1224 | check_expr_ok(45.5f64.atan(), "ATN(45.5)"); |
| 1225 | |
| 1226 | check_expr_ok_with_vars(123f64.atan(), "ATN(a)", [("a", 123i32.into())]); |
| 1227 | |
| 1228 | check_expr_compilation_error("1:10: ATN expected n#", "ATN()"); |
| 1229 | check_expr_compilation_error("1:14: BOOLEAN is not a number", "ATN(FALSE)"); |
| 1230 | check_expr_compilation_error("1:10: ATN expected n#", "ATN(3, 4)"); |
| 1231 | } |
| 1232 | |
| 1233 | #[test] |
| 1234 | fn test_cint() { |
nothing calls this directly
no test coverage detected