mirror of
https://github.com/tiyn/yeschess.git
synced 2025-12-13 13:09:46 +01:00
tests: created tests dir
The tests where cluttering the src dir so i moved them to a separate dir. Same goes for the binaries so i changed the outputdirectory for them and added these to the new gitignore file
This commit is contained in:
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
bin
|
||||||
|
docs
|
||||||
|
secret.nim
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
import einheit
|
import einheit
|
||||||
import algorithm
|
import algorithm
|
||||||
|
|
||||||
include ./chess.nim
|
include chess
|
||||||
|
|
||||||
testSuite ChessTest of TestSuite:
|
testSuite ChessTest of TestSuite:
|
||||||
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
import einheit
|
import einheit
|
||||||
|
|
||||||
include ./chess.nim
|
include chess
|
||||||
include ./engine.nim
|
include engine
|
||||||
|
|
||||||
testSuite ChessTest of TestSuite:
|
testSuite ChessTest of TestSuite:
|
||||||
|
|
||||||
2
tests/nim.cfg
Normal file
2
tests/nim.cfg
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
--path:"../src/"
|
||||||
|
--outdir:"../bin/tests/"
|
||||||
Reference in New Issue
Block a user