diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cd0cb80 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +bin +docs +secret.nim diff --git a/src/chessTest.nim b/tests/chessTest.nim similarity index 99% rename from src/chessTest.nim rename to tests/chessTest.nim index c5eeb04..e2e5049 100644 --- a/src/chessTest.nim +++ b/tests/chessTest.nim @@ -1,7 +1,7 @@ import einheit import algorithm -include ./chess.nim +include chess testSuite ChessTest of TestSuite: diff --git a/src/engineTest.nim b/tests/engineTest.nim similarity index 97% rename from src/engineTest.nim rename to tests/engineTest.nim index deba278..bc9323a 100644 --- a/src/engineTest.nim +++ b/tests/engineTest.nim @@ -1,7 +1,7 @@ import einheit -include ./chess.nim -include ./engine.nim +include chess +include engine testSuite ChessTest of TestSuite: diff --git a/tests/nim.cfg b/tests/nim.cfg new file mode 100644 index 0000000..f7f73d6 --- /dev/null +++ b/tests/nim.cfg @@ -0,0 +1,2 @@ +--path:"../src/" +--outdir:"../bin/tests/"