mirror of https://github.com/flutter/pinball.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
662 B
30 lines
662 B
3 years ago
|
// ignore_for_file: prefer_const_constructors
|
||
|
|
||
|
import 'package:flutter_test/flutter_test.dart';
|
||
|
import 'package:pinball/start_game/bloc/start_game_bloc.dart';
|
||
|
|
||
|
void main() {
|
||
|
group('StartGameEvent', () {
|
||
|
test('PlayTapped supports value equality', () {
|
||
|
expect(
|
||
|
PlayTapped(),
|
||
|
equals(PlayTapped()),
|
||
|
);
|
||
|
});
|
||
|
|
||
|
test('CharacterSelected supports value equality', () {
|
||
|
expect(
|
||
|
CharacterSelected(),
|
||
|
equals(CharacterSelected()),
|
||
|
);
|
||
|
});
|
||
|
|
||
|
test('HowToPlayFinished supports value equality', () {
|
||
|
expect(
|
||
|
HowToPlayFinished(),
|
||
|
equals(HowToPlayFinished()),
|
||
|
);
|
||
|
});
|
||
|
});
|
||
|
}
|