diff --git a/test/game/components/flipper_test.dart b/test/game/components/flipper_test.dart index 0cee5113..70cbf75e 100644 --- a/test/game/components/flipper_test.dart +++ b/test/game/components/flipper_test.dart @@ -187,7 +187,7 @@ void main() { final flipperAnchor = FlipperAnchor(flipper: flipper); await game.ensureAdd(flipperAnchor); - expect(flipperAnchor.body.position.x, equals(0)); + expect(flipperAnchor.body.position.x, equals(-Flipper.width / 2)); }, ); @@ -204,7 +204,7 @@ void main() { final flipperAnchor = FlipperAnchor(flipper: flipper); await game.ensureAdd(flipperAnchor); - expect(flipperAnchor.body.position.x, equals(Flipper.width)); + expect(flipperAnchor.body.position.x, equals(Flipper.width / 2)); }, ); },