aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorymherklotz <ymherklotz@gmail.com>2017-01-19 13:42:28 +0000
committerymherklotz <ymherklotz@gmail.com>2017-01-19 13:42:28 +0000
commit6d61c014039818d13a6908ae47caf377c8f948f3 (patch)
tree547da87e5ec6bc7a5b6d57c2d36d87f183a6fbb6
parent560cca06326b3d93ba095fde2fbc14bd4c122f00 (diff)
downloadChessAI-6d61c014039818d13a6908ae47caf377c8f948f3.tar.gz
ChessAI-6d61c014039818d13a6908ae47caf377c8f948f3.zip
Backing up files changed on laptop
-rw-r--r--include/hjk.py0
-rw-r--r--src/chess_tester.cpp5
2 files changed, 2 insertions, 3 deletions
diff --git a/include/hjk.py b/include/hjk.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/include/hjk.py
diff --git a/src/chess_tester.cpp b/src/chess_tester.cpp
index 9e20fd3..a8ec0b5 100644
--- a/src/chess_tester.cpp
+++ b/src/chess_tester.cpp
@@ -10,10 +10,9 @@ chess_tester::chess_tester() : ts_begin(false) {
}
void chess_tester::chess_begin_test_suite() {
- if(ts_begin) {
+ if(ts_begin)
fprintf(stderr, "Error: already started test suite\n");
- exit(1);
- }
+ exit(1);
ts_begin = true;
}