Skip to content

Instantly share code, notes, and snippets.

@McLarenCollege
Created October 18, 2019 04:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save McLarenCollege/230d55166d8cba137919c0e66d726cdc to your computer and use it in GitHub Desktop.
Save McLarenCollege/230d55166d8cba137919c0e66d726cdc to your computer and use it in GitHub Desktop.
import 'package:flutter/material.dart';
import "package:flutter_test/flutter_test.dart";
import 'package:tic_tac_toe_starter/gamelogic.dart';
void main() {
test("test fullBoard", () {
List<List<Icon>> board = [
[null, null, null],
[null, null, null],
[null, null, null]
];
board[2][2] = xIcon;
expect(fullBoard(board), false);
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment