tests: Add test for GetVariable/SetVariable on _x, etc.

This commit is contained in:
Mike Welsh 2020-07-02 15:16:11 -07:00
parent 804385347f
commit 2cbbe32412
4 changed files with 6 additions and 0 deletions

View File

@ -218,6 +218,7 @@ swf_tests! {
(color_transform, "avm1/color_transform", 1), (color_transform, "avm1/color_transform", 1),
(with, "avm1/with", 1), (with, "avm1/with", 1),
(prototype_properties, "avm1/prototype_properties", 1), (prototype_properties, "avm1/prototype_properties", 1),
(stage_object_properties_get_var, "avm1/stage_object_properties_get_var", 1),
} }
// TODO: These tests have some inaccuracies currently, so we use approx_eq to test that numeric values are close enough. // 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,5 @@
// get('_x')
0
// set('_x', 100)
// _x
100