Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- test("Is an empty puzzle board solved? Yes.", () {
- var grid = Array2D(3, 5, GameBlockType.blank);
- grid.toConsole();
- expect(grid.isSolved(), true);
- });
- Test Output in Console:
- ---------------
- [ ][ ][ ]
- [ ][ ][ ]
- [ ][ ][ ]
- [ ][ ][ ]
- [ ][ ][ ]
- ---------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement