diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-07-11 20:02:34 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-07-11 20:02:34 +0900 |
| commit | d1c268b76f65e69ea708096d5023c4d731cff594 (patch) | |
| tree | e48836287272388df613a370fda7a46598c517f8 /tests/src/SpecTestsuites/Core/LocalTeeTest.php | |
| parent | e4324d3d1d3bf3568d4e2f3b80c9cc324d324f83 (diff) | |
| download | php-waddiwasi-d1c268b76f65e69ea708096d5023c4d731cff594.tar.gz php-waddiwasi-d1c268b76f65e69ea708096d5023c4d731cff594.tar.zst php-waddiwasi-d1c268b76f65e69ea708096d5023c4d731cff594.zip | |
fix: various spectests
Diffstat (limited to 'tests/src/SpecTestsuites/Core/LocalTeeTest.php')
| -rw-r--r-- | tests/src/SpecTestsuites/Core/LocalTeeTest.php | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/tests/src/SpecTestsuites/Core/LocalTeeTest.php b/tests/src/SpecTestsuites/Core/LocalTeeTest.php index ae6c094..e153031 100644 --- a/tests/src/SpecTestsuites/Core/LocalTeeTest.php +++ b/tests/src/SpecTestsuites/Core/LocalTeeTest.php @@ -23,7 +23,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn1(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'type-local-i32', 'args' => []], expected: [['type' => 'i32', 'value' => '0']], line: 280, @@ -34,7 +33,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn2(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'type-local-i64', 'args' => []], expected: [['type' => 'i64', 'value' => '0']], line: 281, @@ -45,7 +43,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn3(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'type-local-f32', 'args' => []], expected: [['type' => 'f32', 'value' => '0']], line: 282, @@ -56,7 +53,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn4(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'type-local-f64', 'args' => []], expected: [['type' => 'f64', 'value' => '0']], line: 283, @@ -67,7 +63,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn5(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'type-param-i32', 'args' => [['type' => 'i32', 'value' => '2']]], expected: [['type' => 'i32', 'value' => '10']], line: 285, @@ -78,7 +73,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn6(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'type-param-i64', 'args' => [['type' => 'i64', 'value' => '3']]], expected: [['type' => 'i64', 'value' => '11']], line: 286, @@ -89,7 +83,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn7(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'type-param-f32', 'args' => [['type' => 'f32', 'value' => '1082969293']]], expected: [['type' => 'f32', 'value' => '1093769626']], line: 287, @@ -100,7 +93,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn8(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'type-param-f64', 'args' => [['type' => 'f64', 'value' => '4617878467915022336']]], expected: [['type' => 'f64', 'value' => '4623057607486498406']], line: 288, @@ -111,7 +103,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn9(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-block-first', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '1']], line: 290, @@ -122,7 +113,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn10(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-block-mid', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '1']], line: 291, @@ -133,7 +123,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn11(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-block-last', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '1']], line: 292, @@ -144,7 +133,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn12(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-loop-first', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '3']], line: 294, @@ -155,7 +143,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn13(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-loop-mid', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '4']], line: 295, @@ -166,7 +153,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn14(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-loop-last', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '5']], line: 296, @@ -177,7 +163,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn15(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-br-value', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '9']], line: 298, @@ -188,7 +173,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn16(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-br_if-cond', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [], line: 300, @@ -199,7 +183,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn17(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-br_if-value', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '8']], line: 301, @@ -210,7 +193,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn18(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-br_if-value-cond', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '6']], line: 302, @@ -221,7 +203,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn19(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-br_table-index', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [], line: 304, @@ -232,7 +213,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn20(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-br_table-value', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '10']], line: 305, @@ -243,7 +223,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn21(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-br_table-value-index', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '6']], line: 306, @@ -254,7 +233,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn22(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-return-value', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '7']], line: 308, @@ -265,7 +243,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn23(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-if-cond', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '0']], line: 310, @@ -276,7 +253,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn24(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-if-then', 'args' => [['type' => 'i32', 'value' => '1']]], expected: [['type' => 'i32', 'value' => '3']], line: 311, @@ -287,7 +263,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn25(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-if-else', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '4']], line: 312, @@ -298,7 +273,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn26(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-select-first', 'args' => [['type' => 'i32', 'value' => '0'], ['type' => 'i32', 'value' => '1']]], expected: [['type' => 'i32', 'value' => '5']], line: 314, @@ -309,7 +283,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn27(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-select-second', 'args' => [['type' => 'i32', 'value' => '0'], ['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '6']], line: 315, @@ -320,7 +293,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn28(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-select-cond', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '0']], line: 316, @@ -331,7 +303,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn29(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-call-first', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '4294967295']], line: 318, @@ -342,7 +313,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn30(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-call-mid', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '4294967295']], line: 319, @@ -353,7 +323,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn31(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-call-last', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '4294967295']], line: 320, @@ -364,7 +333,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn32(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-call_indirect-first', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '4294967295']], line: 322, @@ -375,7 +343,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn33(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-call_indirect-mid', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '4294967295']], line: 323, @@ -386,7 +353,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn34(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-call_indirect-last', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '4294967295']], line: 324, @@ -397,7 +363,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn35(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-call_indirect-index', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '4294967295']], line: 325, @@ -408,7 +373,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn36(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-local.set-value', 'args' => []], expected: [], line: 327, @@ -419,7 +383,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn37(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-local.tee-value', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '1']], line: 328, @@ -430,7 +393,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn38(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-global.set-value', 'args' => []], expected: [], line: 329, @@ -441,7 +403,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn39(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-load-address', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '0']], line: 331, @@ -452,7 +413,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn40(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-loadN-address', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '0']], line: 332, @@ -463,7 +423,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn41(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-store-address', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [], line: 333, @@ -474,7 +433,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn42(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-store-value', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [], line: 334, @@ -485,7 +443,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn43(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-storeN-address', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [], line: 335, @@ -496,7 +453,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn44(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-storeN-value', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [], line: 336, @@ -507,7 +463,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn45(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-unary-operand', 'args' => [['type' => 'f32', 'value' => '0']]], expected: [['type' => 'f32', 'value' => '4286640610']], line: 338, @@ -518,7 +473,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn46(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-binary-left', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '13']], line: 339, @@ -529,7 +483,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn47(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-binary-right', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '6']], line: 340, @@ -540,7 +493,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn48(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-test-operand', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '1']], line: 341, @@ -551,7 +503,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn49(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-compare-left', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '0']], line: 342, @@ -562,7 +513,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn50(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-compare-right', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '1']], line: 343, @@ -573,7 +523,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn51(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-convert-operand', 'args' => [['type' => 'i64', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '41']], line: 344, @@ -584,7 +533,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn52(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'as-memory.grow-size', 'args' => [['type' => 'i32', 'value' => '0']]], expected: [['type' => 'i32', 'value' => '1']], line: 345, @@ -595,7 +543,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn53(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'type-mixed', 'args' => [['type' => 'i64', 'value' => '1'], ['type' => 'f32', 'value' => '1074580685'], ['type' => 'f64', 'value' => '4614613358185178726'], ['type' => 'i32', 'value' => '4'], ['type' => 'i32', 'value' => '5']]], expected: [], line: 348, @@ -606,7 +553,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn54(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'write', 'args' => [['type' => 'i64', 'value' => '1'], ['type' => 'f32', 'value' => '1073741824'], ['type' => 'f64', 'value' => '4614613358185178726'], ['type' => 'i32', 'value' => '4'], ['type' => 'i32', 'value' => '5']]], expected: [['type' => 'i64', 'value' => '56']], line: 354, @@ -617,7 +563,6 @@ final class LocalTeeTest extends SpecTestsuiteBase public function testAssertReturn55(): void { $this->runAssertReturnCommand( - module: null, action: ['type' => 'invoke', 'field' => 'result', 'args' => [['type' => 'i64', 'value' => '18446744073709551615'], ['type' => 'f32', 'value' => '3221225472'], ['type' => 'f64', 'value' => '13837985395039954534'], ['type' => 'i32', 'value' => '4294967292'], ['type' => 'i32', 'value' => '4294967291']]], expected: [['type' => 'f64', 'value' => '4630094481904264806']], line: 361, |
