From 3cd44bda945e4eff2a82f7032ffdadc3ec947159 Mon Sep 17 00:00:00 2001 From: Fabian Gebert Date: Wed, 3 Apr 2024 16:27:54 +0200 Subject: [PATCH] respect tileOffset properties --- packages/flame_tiled/test/tiled_test.dart | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/packages/flame_tiled/test/tiled_test.dart b/packages/flame_tiled/test/tiled_test.dart index 5fcc8948263..b356b6eb359 100644 --- a/packages/flame_tiled/test/tiled_test.dart +++ b/packages/flame_tiled/test/tiled_test.dart @@ -641,7 +641,9 @@ void main() { final pngData = await renderMapToPng(component); expect( - pngData, matchesGoldenFile('goldens/test_tile_offset_hexagonal.png')); + pngData, + matchesGoldenFile('goldens/test_tile_offset_hexagonal.png'), + ); }); test('tile offset isometric', () async { @@ -656,7 +658,9 @@ void main() { final pngData = await renderMapToPng(component); expect( - pngData, matchesGoldenFile('goldens/test_tile_offset_isometric.png')); + pngData, + matchesGoldenFile('goldens/test_tile_offset_isometric.png'), + ); }); test('tile offset orthogonal', () async { @@ -670,8 +674,10 @@ void main() { final pngData = await renderMapToPng(component); - expect(pngData, - matchesGoldenFile('goldens/test_tile_offset_orthogonal.png')); + expect( + pngData, + matchesGoldenFile('goldens/test_tile_offset_orthogonal.png'), + ); }); test('tile offset staggered', () async { @@ -686,7 +692,9 @@ void main() { final pngData = await renderMapToPng(component); expect( - pngData, matchesGoldenFile('goldens/test_tile_offset_staggered.png')); + pngData, + matchesGoldenFile('goldens/test_tile_offset_staggered.png'), + ); }); });