You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
238 B
11 lines
238 B
2 months ago
|
#include <doctest.h>
|
||
|
#include "../game_engine.hpp"
|
||
|
|
||
|
TEST_CASE("game engine can start and take hit") {
|
||
|
// test fails on purpose right now
|
||
|
GameEngine game{100};
|
||
|
string err{"error"};
|
||
|
game.hit(err);
|
||
|
CHECK(game.is_dead() == true);
|
||
|
}
|