Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
98
static decltype(auto) MakeEnemyHit(bool miss) {
99
return MakeEnemy(1, 1, 1, 1, 1, 1, 1, [&](auto& e) { e.miss = miss; });
100
}
101
102
TEST_CASE(
"HitRate"
) {
103
const MockActor m;
Callers
1
game_enemy.cpp
File · 0.85
Calls
1
MakeEnemy
Function · 0.70
Tested by
no test coverage detected