Skip to content

Commit

Permalink
test: check uci return value
Browse files Browse the repository at this point in the history
  • Loading branch information
Disservin committed Jun 22, 2024
1 parent b3a9f04 commit d54af19
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/tests/uci_engine_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ TEST_SUITE("Uci Engine Communication Tests") {
CHECK(uci_engine.output()[1].line == "argv[2]: arg2");
CHECK(uci_engine.output()[2].line == "argv[3]: arg3");

uci_engine.uci();
auto uciSuccess = uci_engine.uci();
CHECK(uciSuccess);

auto uci = uci_engine.uciok();
auto uciOutput = uci_engine.output();

Expand Down

0 comments on commit d54af19

Please sign in to comment.