message: test(api) Add more tests for the `.to_native` API.
diff: @@ -812,8 +812,21 @@ mod inner {
  #[test]
  fn test_to_native() {
  assert_eq!(7i8.to_native(), 7i32);
  + assert_eq!(7u8.to_native(), 7i32);
  + assert_eq!(7i16.to_native(), 7i32);
  + assert_eq!(7u16.to_native(), 7i32);
  assert_eq!(u32::MAX.to_native(), -1);
  }
  +
  + #[test]
  + fn test_to_native_same_size() {
  + assert_eq!(7i32.to_native(), 7i32);
  + assert_eq!(7u32.to_native(), 7i32);
  + assert_eq!(7i64.to_native(), 7i64);
  + assert_eq!(7u64.to_native(), 7i64);
  + assert_eq!(7f32.to_native(), 7f32);
  + assert_eq!(7f64.to_native(), 7f64);
  + }
  }
  /// The `WasmTypeList` trait represents a tuple (list) of Wasm
  