|
|
@ -33,7 +33,6 @@ void main() {
|
|
|
|
final spaceshipRamp = SpaceshipRamp();
|
|
|
|
final spaceshipRamp = SpaceshipRamp();
|
|
|
|
await game.addFromBlueprint(spaceshipRamp);
|
|
|
|
await game.addFromBlueprint(spaceshipRamp);
|
|
|
|
await game.ready();
|
|
|
|
await game.ready();
|
|
|
|
await tester.pump();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
expect(
|
|
|
|
expect(
|
|
|
|
spaceshipRamp.spaceshipRampArrow.current,
|
|
|
|
spaceshipRamp.spaceshipRampArrow.current,
|
|
|
@ -57,7 +56,6 @@ void main() {
|
|
|
|
await game.addFromBlueprint(spaceshipRamp);
|
|
|
|
await game.addFromBlueprint(spaceshipRamp);
|
|
|
|
await game.ready();
|
|
|
|
await game.ready();
|
|
|
|
spaceshipRamp.progress();
|
|
|
|
spaceshipRamp.progress();
|
|
|
|
await tester.pump();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
expect(
|
|
|
|
expect(
|
|
|
|
spaceshipRamp.spaceshipRampArrow.current,
|
|
|
|
spaceshipRamp.spaceshipRampArrow.current,
|
|
|
@ -83,7 +81,6 @@ void main() {
|
|
|
|
spaceshipRamp
|
|
|
|
spaceshipRamp
|
|
|
|
..progress()
|
|
|
|
..progress()
|
|
|
|
..progress();
|
|
|
|
..progress();
|
|
|
|
await tester.pump();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
expect(
|
|
|
|
expect(
|
|
|
|
spaceshipRamp.spaceshipRampArrow.current,
|
|
|
|
spaceshipRamp.spaceshipRampArrow.current,
|
|
|
@ -110,7 +107,6 @@ void main() {
|
|
|
|
..progress()
|
|
|
|
..progress()
|
|
|
|
..progress()
|
|
|
|
..progress()
|
|
|
|
..progress();
|
|
|
|
..progress();
|
|
|
|
await tester.pump();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
expect(
|
|
|
|
expect(
|
|
|
|
spaceshipRamp.spaceshipRampArrow.current,
|
|
|
|
spaceshipRamp.spaceshipRampArrow.current,
|
|
|
@ -138,7 +134,6 @@ void main() {
|
|
|
|
..progress()
|
|
|
|
..progress()
|
|
|
|
..progress()
|
|
|
|
..progress()
|
|
|
|
..progress();
|
|
|
|
..progress();
|
|
|
|
await tester.pump();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
expect(
|
|
|
|
expect(
|
|
|
|
spaceshipRamp.spaceshipRampArrow.current,
|
|
|
|
spaceshipRamp.spaceshipRampArrow.current,
|
|
|
@ -167,7 +162,6 @@ void main() {
|
|
|
|
..progress()
|
|
|
|
..progress()
|
|
|
|
..progress()
|
|
|
|
..progress()
|
|
|
|
..progress();
|
|
|
|
..progress();
|
|
|
|
await tester.pump();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
expect(
|
|
|
|
expect(
|
|
|
|
spaceshipRamp.spaceshipRampArrow.current,
|
|
|
|
spaceshipRamp.spaceshipRampArrow.current,
|
|
|
|