diff --git a/agrf/lib/building/layout_test.py b/agrf/lib/building/layout_test.py index 6f1a3923..e520ed19 100644 --- a/agrf/lib/building/layout_test.py +++ b/agrf/lib/building/layout_test.py @@ -59,6 +59,10 @@ def test_groundsprite_fingerprint(): json.dumps(gs1012.get_fingerprint()) +def test_groundsprite_get_resource_files(): + assert all(isinstance(file, grf.ResourceFile) for file in gs1012.get_resource_files()) + + def test_parentsprite(): assert (temperate_1012 == ps1012.graphics(4, 32).to_image()).all() @@ -75,6 +79,10 @@ def test_parentsprite_fingerprint(): json.dumps(ps1012.get_fingerprint()) +def test_parentsprite_get_resource_files(): + assert all(isinstance(file, grf.ResourceFile) for file in ps1012.get_resource_files()) + + def test_layout(): assert (temperate_1012 == l1012.graphics(4, 32).to_image()).all()