diff --git a/test/game/components/ball_test.dart b/test/game/components/ball_test.dart index 849db996..64d41908 100644 --- a/test/game/components/ball_test.dart +++ b/test/game/components/ball_test.dart @@ -26,18 +26,6 @@ void main() { ); group('body', () { - flameTester.test( - 'positions correctly', - (game) async { - final position = Vector2.all(10); - final ball = Ball()..initialPosition = position; - await game.ensureAdd(ball); - game.contains(ball); - - expect(ball.body.position, equals(position)); - }, - ); - flameTester.test( 'is dynamic', (game) async { diff --git a/test/game/components/baseboard_test.dart b/test/game/components/baseboard_test.dart index 86087d92..75cc62cc 100644 --- a/test/game/components/baseboard_test.dart +++ b/test/game/components/baseboard_test.dart @@ -29,21 +29,6 @@ void main() { ); group('body', () { - flameTester.test( - 'positions correctly', - (game) async { - final position = Vector2.all(10); - final baseboard = Baseboard( - side: BoardSide.left, - )..initialPosition = position; - - await game.ensureAdd(baseboard); - game.contains(baseboard); - - expect(baseboard.body.position, equals(position)); - }, - ); - flameTester.test( 'is static', (game) async { diff --git a/test/game/components/bonus_word_test.dart b/test/game/components/bonus_word_test.dart index ca9465b0..a9af305e 100644 --- a/test/game/components/bonus_word_test.dart +++ b/test/game/components/bonus_word_test.dart @@ -134,21 +134,6 @@ void main() { ); group('body', () { - flameTester.test( - 'positions correctly', - (game) async { - final position = Vector2.all(10); - final bonusLetter = BonusLetter( - letter: 'G', - index: 0, - )..initialPosition = position; - await game.ensureAdd(bonusLetter); - game.contains(bonusLetter); - - expect(bonusLetter.body.position, position); - }, - ); - flameTester.test( 'is static', (game) async { diff --git a/test/game/components/flipper_test.dart b/test/game/components/flipper_test.dart index 83242b5e..e6e9ba23 100644 --- a/test/game/components/flipper_test.dart +++ b/test/game/components/flipper_test.dart @@ -50,20 +50,6 @@ void main() { }); group('body', () { - flameTester.test( - 'positions correctly', - (game) async { - final position = Vector2.all(10); - final flipper = Flipper.fromSide( - side: BoardSide.left, - )..initialPosition = position; - await game.ensureAdd(flipper); - game.contains(flipper); - - expect(flipper.body.position, position); - }, - ); - flameTester.test( 'is dynamic', (game) async { diff --git a/test/game/components/joint_anchor_test.dart b/test/game/components/joint_anchor_test.dart index 66a3bc60..652bd445 100644 --- a/test/game/components/joint_anchor_test.dart +++ b/test/game/components/joint_anchor_test.dart @@ -22,19 +22,6 @@ void main() { ); group('body', () { - flameTester.test( - 'positions correctly', - (game) async { - await game.ready(); - final position = Vector2.all(10); - final anchor = JointAnchor()..initialPosition = position; - await game.ensureAdd(anchor); - game.contains(anchor); - - expect(anchor.body.position, position); - }, - ); - flameTester.test( 'is static', (game) async { diff --git a/test/game/components/pathway_test.dart b/test/game/components/pathway_test.dart index 07d26636..550714cb 100644 --- a/test/game/components/pathway_test.dart +++ b/test/game/components/pathway_test.dart @@ -72,23 +72,6 @@ void main() { ); group('body', () { - flameTester.test( - 'positions correctly', - (game) async { - await game.ready(); - final position = Vector2.all(10); - final pathway = Pathway.straight( - start: Vector2(10, 10), - end: Vector2(20, 20), - width: width, - )..initialPosition = position; - await game.ensureAdd(pathway); - - game.contains(pathway); - expect(pathway.body.position, equals(position)); - }, - ); - flameTester.test( 'is static', (game) async { @@ -164,24 +147,6 @@ void main() { ); group('body', () { - flameTester.test( - 'positions correctly', - (game) async { - await game.ready(); - final position = Vector2.all(10); - final pathway = Pathway.arc( - center: position, - width: width, - radius: 100, - angle: math.pi / 2, - )..initialPosition = position; - await game.ensureAdd(pathway); - - game.contains(pathway); - expect(pathway.body.position, position); - }, - ); - flameTester.test( 'is static', (game) async { @@ -223,22 +188,6 @@ void main() { ); group('body', () { - flameTester.test( - 'positions correctly', - (game) async { - await game.ready(); - final position = Vector2.all(10); - final pathway = Pathway.bezierCurve( - controlPoints: controlPoints, - width: width, - )..initialPosition = position; - await game.ensureAdd(pathway); - - game.contains(pathway); - expect(pathway.body.position, position); - }, - ); - flameTester.test( 'is static', (game) async { diff --git a/test/game/components/plunger_test.dart b/test/game/components/plunger_test.dart index af002845..1cec7e0c 100644 --- a/test/game/components/plunger_test.dart +++ b/test/game/components/plunger_test.dart @@ -32,20 +32,6 @@ void main() { ); group('body', () { - flameTester.test( - 'positions correctly', - (game) async { - final position = Vector2.all(10); - final plunger = Plunger( - compressionDistance: compressionDistance, - )..initialPosition = position; - await game.ensureAdd(plunger); - game.contains(plunger); - - expect(plunger.body.position, position); - }, - ); - flameTester.test( 'is dynamic', (game) async { diff --git a/test/game/components/round_bumper_test.dart b/test/game/components/round_bumper_test.dart index 529b70ca..437167ad 100644 --- a/test/game/components/round_bumper_test.dart +++ b/test/game/components/round_bumper_test.dart @@ -41,21 +41,6 @@ void main() { ); group('body', () { - flameTester.test( - 'positions correctly', - (game) async { - final position = Vector2.all(10); - final roundBumper = RoundBumper( - radius: radius, - points: points, - )..initialPosition = position; - await game.ensureAdd(roundBumper); - game.contains(roundBumper); - - expect(roundBumper.body.position, equals(position)); - }, - ); - flameTester.test( 'is static', (game) async { diff --git a/test/game/components/sling_shot_test.dart b/test/game/components/sling_shot_test.dart index 179c2bb3..e7c796a1 100644 --- a/test/game/components/sling_shot_test.dart +++ b/test/game/components/sling_shot_test.dart @@ -22,19 +22,6 @@ void main() { ); group('body', () { - flameTester.test( - 'positions correctly', - (game) async { - final position = Vector2.all(10); - final slingShot = SlingShot( - side: BoardSide.left, - )..initialPosition = position; - await game.ensureAdd(slingShot); - - expect(slingShot.body.position, equals(position)); - }, - ); - flameTester.test( 'is static', (game) async {