mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-21 15:59:20 +03:00
wasm_interp: rename test_opcodes -> test_basics, and split out test_convert
This commit is contained in:
parent
f798f47edd
commit
46737b4a41
@ -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() {}
|
78
crates/wasm_interp/tests/test_convert.rs
Normal file
78
crates/wasm_interp/tests/test_convert.rs
Normal 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() {}
|
Loading…
Reference in New Issue
Block a user