tests: Activate unused remove_movie_clip test

This commit is contained in:
Mike Welsh 2020-08-21 00:27:29 -07:00
parent 1e6a053c56
commit 528b52ac7c
4 changed files with 18 additions and 0 deletions

View File

@ -298,6 +298,7 @@ swf_tests! {
(button_children, "avm1/button_children", 1),
(transform, "avm1/transform", 1),
(target_path, "avm1/target_path", 1),
(remove_movie_clip, "avm1/remove_movie_clip", 1),
}
// 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,17 @@
// RemoveSprite
_level0.clip1
undefined
// MovieClip.removeMovieClip
2
_level0.clip2
undefined
// Trying to remove static clip
_level0.clip
_level0.clip
// Remove wacky depths
_level0.clip3
_level0.clip3
_level0.clip4
undefined
_level0.clip5
_level0.clip5