Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. test("Is an empty puzzle board solved? Yes.", () {
  2. var grid = Array2D(3, 5, GameBlockType.blank);
  3. grid.toConsole();
  4. expect(grid.isSolved(), true);
  5. });
  6.  
  7. Test Output in Console:
  8. ---------------
  9. [ ][ ][ ]
  10. [ ][ ][ ]
  11. [ ][ ][ ]
  12. [ ][ ][ ]
  13. [ ][ ][ ]
  14. ---------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement