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.

master
Zed A. Shaw 3 months ago
parent 440be444ea
commit 984031bf33
  1. 2
      tests/game_engine.cpp

@ -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…
Cancel
Save