test: fixed test names and golden files

pull/231/head
RuiAlonso 3 years ago
parent f82b37c088
commit abdb926fbb

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

@ -12,7 +12,7 @@ import '../../../helpers/helpers.dart';
void main() {
final bloc = MockMultiplierCubit();
group('MultiplierSpriteGroupComponent', () {
group('Multiplier', () {
TestWidgetsFlutterBinding.ensureInitialized();
final assets = [
Assets.images.multiplier.x2.lit.keyName,
@ -28,14 +28,6 @@ void main() {
];
final flameTester = FlameTester(() => TestGame(assets));
flameTester.test('"x2" loads correctly', (game) async {
final multiplier = Multiplier.x2(
position: Vector2.zero(),
rotation: 0,
);
await game.ensureAdd(multiplier);
expect(game.contains(multiplier), isTrue);
});
flameTester.test('"x2" loads correctly', (game) async {
final multiplier = Multiplier.x2(
position: Vector2.zero(),

Loading…
Cancel
Save