Add tests for various forms of `loadVariables`.

Surprisingly enough these tests passed without any changes, somehow.
This commit is contained in:
David Wendt 2020-01-17 21:04:10 -05:00
parent c00ecccd1f
commit 538a5f05e5
13 changed files with 12 additions and 0 deletions

View File

@ -169,6 +169,9 @@ swf_tests! {
(mcl_loadclip, "avm1/mcl_loadclip", 11),
(mcl_unloadclip, "avm1/mcl_unloadclip", 11),
(mcl_getprogress, "avm1/mcl_getprogress", 6),
(loadvariables, "avm1/loadvariables", 3),
(loadvariablesnum, "avm1/loadvariablesnum", 3),
(loadvariables_method, "avm1/loadvariables_method", 3),
}
// TODO: These tests have some inaccuracies currently, so we use approx_eq to test that numeric values are close enough.

View File

@ -0,0 +1,2 @@
Hurray
The test passed

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
loaded=Hurray&also=The%20test%20passed

View File

@ -0,0 +1,2 @@
Hurray
The test passed

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
loaded=Hurray&also=The%20test%20passed

View File

@ -0,0 +1,2 @@
Hurray
The test passed

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
loaded=Hurray&also=The%20test%20passed