wasm_interp: rename test_opcodes -> test_basics, and split out test_convert

This commit is contained in:
Brian Carroll 2022-11-28 21:32:12 +00:00
parent f798f47edd
commit 46737b4a41
No known key found for this signature in database
GPG Key ID: 5C7B2EC4101703C0
2 changed files with 78 additions and 75 deletions

View File

@ -847,78 +847,3 @@ fn test_f64const() {
state.execute_next_instruction(&module);
assert_eq!(state.value_stack.pop(), Value::F64(12345.67890))
}
// #[test]
// fn test_i32wrapi64() {}
// #[test]
// fn test_i32truncsf32() {}
// #[test]
// fn test_i32truncuf32() {}
// #[test]
// fn test_i32truncsf64() {}
// #[test]
// fn test_i32truncuf64() {}
// #[test]
// fn test_i64extendsi32() {}
// #[test]
// fn test_i64extendui32() {}
// #[test]
// fn test_i64truncsf32() {}
// #[test]
// fn test_i64truncuf32() {}
// #[test]
// fn test_i64truncsf64() {}
// #[test]
// fn test_i64truncuf64() {}
// #[test]
// fn test_f32convertsi32() {}
// #[test]
// fn test_f32convertui32() {}
// #[test]
// fn test_f32convertsi64() {}
// #[test]
// fn test_f32convertui64() {}
// #[test]
// fn test_f32demotef64() {}
// #[test]
// fn test_f64convertsi32() {}
// #[test]
// fn test_f64convertui32() {}
// #[test]
// fn test_f64convertsi64() {}
// #[test]
// fn test_f64convertui64() {}
// #[test]
// fn test_f64promotef32() {}
// #[test]
// fn test_i32reinterpretf32() {}
// #[test]
// fn test_i64reinterpretf64() {}
// #[test]
// fn test_f32reinterpreti32() {}
// #[test]
// fn test_f64reinterpreti64() {}

View File

@ -0,0 +1,78 @@
#![cfg(test)]
use roc_wasm_interp::test_utils::test_op_example;
// #[test]
// fn test_i32wrapi64() {}
// #[test]
// fn test_i32truncsf32() {}
// #[test]
// fn test_i32truncuf32() {}
// #[test]
// fn test_i32truncsf64() {}
// #[test]
// fn test_i32truncuf64() {}
// #[test]
// fn test_i64extendsi32() {}
// #[test]
// fn test_i64extendui32() {}
// #[test]
// fn test_i64truncsf32() {}
// #[test]
// fn test_i64truncuf32() {}
// #[test]
// fn test_i64truncsf64() {}
// #[test]
// fn test_i64truncuf64() {}
// #[test]
// fn test_f32convertsi32() {}
// #[test]
// fn test_f32convertui32() {}
// #[test]
// fn test_f32convertsi64() {}
// #[test]
// fn test_f32convertui64() {}
// #[test]
// fn test_f32demotef64() {}
// #[test]
// fn test_f64convertsi32() {}
// #[test]
// fn test_f64convertui32() {}
// #[test]
// fn test_f64convertsi64() {}
// #[test]
// fn test_f64convertui64() {}
// #[test]
// fn test_f64promotef32() {}
// #[test]
// fn test_i32reinterpretf32() {}
// #[test]
// fn test_i64reinterpretf64() {}
// #[test]
// fn test_f32reinterpreti32() {}
// #[test]
// fn test_f64reinterpreti64() {}