Test passes now, and most of the gear is working, but now I think I can't use doctest because it doesn't support TAP output.
This commit is contained in:
parent
440be444ea
commit
984031bf33
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
TEST_CASE("game engine can start and take hit") {
|
TEST_CASE("game engine can start and take hit") {
|
||||||
// test fails on purpose right now
|
// test fails on purpose right now
|
||||||
GameEngine game{100};
|
GameEngine game{4};
|
||||||
string err{"error"};
|
string err{"error"};
|
||||||
game.hit(err);
|
game.hit(err);
|
||||||
CHECK(game.is_dead() == true);
|
CHECK(game.is_dead() == true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue