diff options
-rw-r--r-- | test/json/wall-atlas-02_groups.json | 3 | ||||
-rw-r--r-- | test/wall-atlas.cpp | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/test/json/wall-atlas-02_groups.json b/test/json/wall-atlas-02_groups.json index ae187167..c9617d4f 100644 --- a/test/json/wall-atlas-02_groups.json +++ b/test/json/wall-atlas-02_groups.json @@ -31,7 +31,8 @@ "pixel-size": "42 x 192", "tint-mult": [ 0.125, 0.25, 0.5, 1 ], "tint-add": [ 1, 2, 3 ], - "mirrored": true + "mirrored": true, + "default-tint": false }, "side": { "pixel-size": "42 x 192" diff --git a/test/wall-atlas.cpp b/test/wall-atlas.cpp index a1c12d96..33b5d1fe 100644 --- a/test/wall-atlas.cpp +++ b/test/wall-atlas.cpp @@ -61,6 +61,7 @@ void test_read_groups(StringView filename) fm_assert(dir.wall.tint_mult == Vector4{0.125f, 0.25f, 0.5f, 1.f } ); fm_assert(dir.wall.tint_add == Vector3{1, 2, 3} ); fm_assert(dir.wall.mirrored == true ); + fm_assert(dir.wall.default_tint == false ); fm_assert(dir.side.pixel_size == Vector2ui{42, 192} ); fm_assert(dir.side.default_tint == true ); fm_assert(dir.top.default_tint == true ); |