From 726494f4900a9e9d5225bb1db40244313b1e10d3 Mon Sep 17 00:00:00 2001 From: "tobias.steinmann" Date: Wed, 22 Nov 2023 21:10:28 +0100 Subject: [PATCH] Adding testcase and working example --- {example/test => test}/stockfish_test.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename {example/test => test}/stockfish_test.dart (83%) diff --git a/example/test/stockfish_test.dart b/test/stockfish_test.dart similarity index 83% rename from example/test/stockfish_test.dart rename to test/stockfish_test.dart index 8e8c1c2..ac36080 100644 --- a/example/test/stockfish_test.dart +++ b/test/stockfish_test.dart @@ -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 received = [];