MCPcopy Create free account
hub / github.com/EasyRPG/Player / MakeEnemyHit

Function MakeEnemyHit

tests/game_enemy.cpp:98–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98static decltype(auto) MakeEnemyHit(bool miss) {
99 return MakeEnemy(1, 1, 1, 1, 1, 1, 1, [&](auto& e) { e.miss = miss; });
100}
101
102TEST_CASE("HitRate") {
103 const MockActor m;

Callers 1

game_enemy.cppFile · 0.85

Calls 1

MakeEnemyFunction · 0.70

Tested by

no test coverage detected