refactor: removed duplicate test

pull/314/head
alestiago 3 years ago
parent c67db0e55c
commit c54c067f1b

@ -35,17 +35,6 @@ void main() {
); );
}); });
flameTester.test('can be loaded', (game) async {
final ball = Ball.test(baseColor: baseColor);
final behavior = BallScalingBehavior();
await ball.add(behavior);
await game.ensureAdd(ball);
expect(
ball.firstChild<BallScalingBehavior>(),
equals(behavior),
);
});
flameTester.test('scales the shape radius', (game) async { flameTester.test('scales the shape radius', (game) async {
final ball1 = Ball.test(baseColor: baseColor) final ball1 = Ball.test(baseColor: baseColor)
..initialPosition = Vector2(0, 10); ..initialPosition = Vector2(0, 10);

Loading…
Cancel
Save