|
|
@ -13,7 +13,7 @@ import '../../helpers/helpers.dart';
|
|
|
|
|
|
|
|
|
|
|
|
void main() {
|
|
|
|
void main() {
|
|
|
|
TestWidgetsFlutterBinding.ensureInitialized();
|
|
|
|
TestWidgetsFlutterBinding.ensureInitialized();
|
|
|
|
final flameTester = FlameTester(EmptyPinballGameTest.new);
|
|
|
|
final flameTester = FlameTester(EmptyPinballTestGame.new);
|
|
|
|
|
|
|
|
|
|
|
|
group('AlienZone', () {
|
|
|
|
group('AlienZone', () {
|
|
|
|
flameTester.test(
|
|
|
|
flameTester.test(
|
|
|
@ -52,7 +52,7 @@ void main() {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
final flameBlocTester = FlameBlocTester<PinballGame, GameBloc>(
|
|
|
|
final flameBlocTester = FlameBlocTester<PinballGame, GameBloc>(
|
|
|
|
gameBuilder: EmptyPinballGameTest.new,
|
|
|
|
gameBuilder: EmptyPinballTestGame.new,
|
|
|
|
blocBuilder: () => gameBloc,
|
|
|
|
blocBuilder: () => gameBloc,
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|