Merge signed and unsigned integer types #5826
Annotations
3 errors
src/h5wasm-api.test.ts > test file matches snapshot:
packages/h5wasm/src/h5wasm-api.test.ts#L61
Error: Snapshot `test file matches snapshot 1` mismatched
- Expected
+ Received
@@ -11,10 +11,11 @@
},
"shape": [],
"type": {
"class": "Integer",
"endianness": "little-endian",
+ "signed": true,
"size": 8,
},
"value": -128,
},
{
@@ -32,10 +33,11 @@
3,
],
"type": {
"class": "Integer",
"endianness": "little-endian",
+ "signed": true,
"size": 8,
},
"value": Int8Array [
0,
1,
@@ -57,10 +59,11 @@
},
"shape": [],
"type": {
"class": "Integer",
"endianness": "little-endian",
+ "signed": true,
"size": 16,
},
"value": -32768,
},
{
@@ -78,10 +81,11 @@
3,
],
"type": {
"class": "Integer",
"endianness": "little-endian",
+ "signed": true,
"size": 16,
},
"value": Int16Array [
0,
1,
@@ -103,10 +107,11 @@
},
"shape": [],
"type": {
"class": "Integer",
"endianness": "little-endian",
+ "signed": true,
"size": 32,
},
"value": -2147483648,
},
{
@@ -121,10 +126,11 @@
},
"shape": [],
"type": {
"class": "Integer",
"endianness": "big-endian",
+ "signed": true,
"size": 32,
},
"value": 0,
},
{
@@ -142,10 +148,11 @@
3,
],
"type": {
"class": "Integer",
"endianness": "little-endian",
+ "signed": true,
"size": 32,
},
"value": Int32Array [
0,
1,
@@ -167,10 +174,11 @@
},
"shape": [],
"type": {
"class": "Integer",
"endianness": "little-endian",
+ "signed": true,
"size": 64,
},
"value": -9223372036854776000,
},
{
@@ -188,10 +196,11 @@
3,
],
"type": {
"class": "Integer",
"endianness": "little-endian",
+ "signed": true,
"size": 64,
},
"value": [
0,
1,
@@ -211,12 +220,13 @@
"type": 0,
"vlen": false,
},
"shape": [],
"type": {
- "class": "Integer (unsigned)",
+ "class": "Integer",
"endianness": "little-endian",
+ "signed": false,
"size": 8,
},
"value": 255,
},
{
@@ -232,12 +242,13 @@
"shape": [
2,
3,
],
"type": {
- "class": "Integer (unsigned)",
+ "class": "Integer",
"endianness": "little-endian",
+ "signed": false,
"size": 8,
},
"value": Uint8Array [
0,
1,
@@ -257,12 +268,13 @@
"type": 0,
"vlen": false,
},
"shape": [],
"type": {
- "class": "Integer (unsigned)",
+ "class": "Integer",
"endianness": "little-endian",
+ "signed": false,
"size": 16,
},
"value": 65535,
},
{
@@ -278,12 +290,13 @@
"shape": [
2,
3,
],
"type": {
- "class": "Integer (unsigned)",
+ "class": "Integer",
"endianness": "little-endian",
+ "signed": false,
"size": 16,
},
"value": Uint16Array [
0,
1,
@@ -303,12 +316,13 @@
"type": 0,
"vlen": false,
},
"shape": [],
"type": {
- "class": "Integer (unsigned)",
+ "class": "Integer",
"endianness": "little-endian",
+ "signed": false,
"size": 32,
},
"value": 4294967295,
},
{
@@ -324,12 +338,13 @@
"shape": [
2,
3,
],
"type": {
- "class": "Integer (unsigned)",
+ "class": "Integer",
"endianness": "little-endian",
+ "signed": false,
"size": 32,
},
"value": Uint32Array [
0,
1,
@@ -349,12 +364,13 @@
"type": 0,
"vlen": false,
},
"shape": [],
"type": {
- "class": "Integer (unsigned)",
+ "class": "Integer",
"endianness": "little-
|
src/providers/h5grove/h5grove-api.test.ts > test file matches snapshot:
packages/app/src/providers/h5grove/h5grove-api.test.ts#L46
Error: Snapshot `test file matches snapshot 1` mismatched
- Expected
+ Received
@@ -10,10 +10,11 @@
},
"shape": [],
"type": {
"class": "Integer",
"endianness": "little-endian",
+ "signed": true,
"size": 8,
},
"value": -128,
},
{
@@ -30,10 +31,11 @@
3,
],
"type": {
"class": "Integer",
"endianness": "little-endian",
+ "signed": true,
"size": 8,
},
"value": Int8Array [
0,
1,
@@ -54,10 +56,11 @@
},
"shape": [],
"type": {
"class": "Integer",
"endianness": "little-endian",
+ "signed": true,
"size": 16,
},
"value": -32768,
},
{
@@ -74,10 +77,11 @@
3,
],
"type": {
"class": "Integer",
"endianness": "little-endian",
+ "signed": true,
"size": 16,
},
"value": Int16Array [
0,
1,
@@ -98,10 +102,11 @@
},
"shape": [],
"type": {
"class": "Integer",
"endianness": "little-endian",
+ "signed": true,
"size": 32,
},
"value": -2147483648,
},
{
@@ -115,10 +120,11 @@
},
"shape": [],
"type": {
"class": "Integer",
"endianness": "big-endian",
+ "signed": true,
"size": 32,
},
"value": 0,
},
{
@@ -135,10 +141,11 @@
3,
],
"type": {
"class": "Integer",
"endianness": "little-endian",
+ "signed": true,
"size": 32,
},
"value": Int32Array [
0,
1,
@@ -159,10 +166,11 @@
},
"shape": [],
"type": {
"class": "Integer",
"endianness": "little-endian",
+ "signed": true,
"size": 64,
},
"value": -9223372036854776000,
},
{
@@ -179,10 +187,11 @@
3,
],
"type": {
"class": "Integer",
"endianness": "little-endian",
+ "signed": true,
"size": 64,
},
"value": [
0,
1,
@@ -201,12 +210,13 @@
"sign": 0,
"size": 1,
},
"shape": [],
"type": {
- "class": "Integer (unsigned)",
+ "class": "Integer",
"endianness": "little-endian",
+ "signed": false,
"size": 8,
},
"value": 255,
},
{
@@ -221,12 +231,13 @@
"shape": [
2,
3,
],
"type": {
- "class": "Integer (unsigned)",
+ "class": "Integer",
"endianness": "little-endian",
+ "signed": false,
"size": 8,
},
"value": Uint8Array [
0,
1,
@@ -245,12 +256,13 @@
"sign": 0,
"size": 2,
},
"shape": [],
"type": {
- "class": "Integer (unsigned)",
+ "class": "Integer",
"endianness": "little-endian",
+ "signed": false,
"size": 16,
},
"value": 65535,
},
{
@@ -265,12 +277,13 @@
"shape": [
2,
3,
],
"type": {
- "class": "Integer (unsigned)",
+ "class": "Integer",
"endianness": "little-endian",
+ "signed": false,
"size": 16,
},
"value": Uint16Array [
0,
1,
@@ -289,12 +302,13 @@
"sign": 0,
"size": 4,
},
"shape": [],
"type": {
- "class": "Integer (unsigned)",
+ "class": "Integer",
"endianness": "little-endian",
+ "signed": false,
"size": 32,
},
"value": 4294967295,
},
{
@@ -309,12 +323,13 @@
"shape": [
2,
3,
],
"type": {
- "class": "Integer (unsigned)",
+ "class": "Integer",
"endianness": "little-endian",
+ "signed": false,
"size": 32,
},
"value": Uint32Array [
0,
1,
@@ -333,12 +348,13 @@
"sign": 0,
"size": 8,
},
"shape": [],
"type": {
- "class": "Integer (unsigned)",
+ "class": "Integer",
"endianness": "little-endian",
+
|
test
Process completed with exit code 1.
|