|
|
@ -87,6 +87,19 @@ void main() {
|
|
|
|
expect(roundBumpers.length, equals(3));
|
|
|
|
expect(roundBumpers.length, equals(3));
|
|
|
|
},
|
|
|
|
},
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
flameTester.test(
|
|
|
|
|
|
|
|
'has three RoundBumpers',
|
|
|
|
|
|
|
|
(game) async {
|
|
|
|
|
|
|
|
// TODO(alestiago): change to [NestBumpers] once provided.
|
|
|
|
|
|
|
|
final board = Board();
|
|
|
|
|
|
|
|
await game.ready();
|
|
|
|
|
|
|
|
await game.ensureAdd(board);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
final roundBumpers = board.findNestedChildren<RoundBumper>();
|
|
|
|
|
|
|
|
expect(roundBumpers.length, equals(3));
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|