You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
413 B

import 'package:flutter_test/flutter_test.dart';
import 'package:my_flutter_puzzle/utils/puzzle_solver.dart';
void main() {
test('solver logic test', () {
final solver = PuzzleSolverClient(size: 4);
final board = solver.createRandomBoard();
final boardStates = solver.runner(board);
if (boardStates != null) {
for (var board in boardStates) {
print(board);
}
}
});
}