Rename simple_math() to i64_math()

This commit is contained in:
mars 2022-03-27 12:05:27 -06:00
parent 243990971d
commit 36f2cf90ab
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ mod tests {
}
#[test]
fn simple_math() {
fn i64_math() {
let source = "simple_math() i64 { (1 + 2) * ((4 + 5) / 3) }";
let code_fn = jit_fn::<(), i64>(source);
assert_eq!(code_fn(()), 9);