|
|
|
@ -1,3 +1,5 @@
|
|
|
|
|
// ignore_for_file: prefer_const_constructors
|
|
|
|
|
|
|
|
|
|
import 'package:flutter_test/flutter_test.dart';
|
|
|
|
|
import 'package:pinball/game/bloc/start_game_bloc.dart';
|
|
|
|
|
|
|
|
|
@ -5,22 +7,22 @@ void main() {
|
|
|
|
|
group('StartGameEvent', () {
|
|
|
|
|
test('SelectCharacter supports value equality', () {
|
|
|
|
|
expect(
|
|
|
|
|
const SelectCharacter(),
|
|
|
|
|
equals(const SelectCharacter()),
|
|
|
|
|
SelectCharacter(),
|
|
|
|
|
equals(SelectCharacter()),
|
|
|
|
|
);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
test('HowToPlay supports value equality', () {
|
|
|
|
|
expect(
|
|
|
|
|
const HowToPlay(),
|
|
|
|
|
equals(const HowToPlay()),
|
|
|
|
|
HowToPlay(),
|
|
|
|
|
equals(HowToPlay()),
|
|
|
|
|
);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
test('Play supports value equality', () {
|
|
|
|
|
expect(
|
|
|
|
|
const Play(),
|
|
|
|
|
equals(const Play()),
|
|
|
|
|
Play(),
|
|
|
|
|
equals(Play()),
|
|
|
|
|
);
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|