Update SnesColor constructor and add SnesTile tests

- Changed SnesColor constructor to remove constexpr, improving compatibility with non-constant expressions.
- Added new tests for SnesTile functionality, including unpacking, packing, and conversion between different bit depths.
- Enhanced TileInfo and Tile32 tests to verify construction, operations, and bit manipulation for better coverage.
This commit is contained in:
scawful
2025-05-15 23:05:25 -04:00
parent ceab496226
commit f632650568
3 changed files with 182 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ add_executable(
rom_test.cc
test_editor.cc
hex_test.cc
gfx/snes_tile_test.cc
gfx/compression_test.cc
gfx/snes_palette_test.cc
zelda3/message_test.cc