Adding testcase and working example

This commit is contained in:
tobias.steinmann 2023-11-22 21:10:28 +01:00 committed by jusax23
parent c9f94d223a
commit 726494f490
Signed by: jusax23
GPG key ID: 499E2AA870C1CD41

View file

@ -7,9 +7,10 @@ import 'package:flutter_test/flutter_test.dart';
/// To run the test, you have to
/// 1. run the example (example/lib/main.dart) in windows,
/// so everything gets build
/// 2. copy flutter_stockfish_plugin.dll to example-directory manually
/// 2. copy flutter_stockfish_plugin.dll to root-directory
/// (directly to flutter_stockfish_plugin) manually
void main() {
test('Counter value should be incremented', () async {
test('Start Stockfish and uci init', () async {
final fish1 = Stockfish();
List<String> received = [];