summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-11 05:25:04 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-11 05:25:47 +0100
commit32b4231d09f4c19dbcbf1f29ff66d109f11be1dd (patch)
treeca4bd3891509dde87ca1895d89fdd21054757da4 /test
parentc9360ffe04725abf6e4f1b97d67731981508749f (diff)
remove tint-add
Diffstat (limited to 'test')
-rw-r--r--test/json/wall-atlas-02_groups.json3
-rw-r--r--test/wall-atlas.cpp1
2 files changed, 1 insertions, 3 deletions
diff --git a/test/json/wall-atlas-02_groups.json b/test/json/wall-atlas-02_groups.json
index d3b25918..cac2b5e1 100644
--- a/test/json/wall-atlas-02_groups.json
+++ b/test/json/wall-atlas-02_groups.json
@@ -32,8 +32,7 @@
"offset": 0,
"count": 1,
"pixel-size": "42 x 192",
- "tint-mult": [ 0.125, 0.25, 0.5, 1 ],
- "tint-add": [ 1, 2, 3 ],
+ "tint": [ 0.125, 0.25, 0.5, 1 ],
"mirrored": true,
"default-tint": false
},
diff --git a/test/wall-atlas.cpp b/test/wall-atlas.cpp
index 1f71d10f..0790d38a 100644
--- a/test/wall-atlas.cpp
+++ b/test/wall-atlas.cpp
@@ -59,7 +59,6 @@ void test_read_groups(StringView filename)
fm_assert(is_direction_defined(dir));
fm_assert(dir.wall.pixel_size == Vector2ui{42, 192} );
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} );