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

Function testWeapon

tests/game_actor.cpp:428–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426}
427
428static void testWeapon(Game_Actor* a, int id1, int id2, int armor = 0, int helmet = 0, int acc = 0) {
429 testWeapon2(a, id1, id2, armor, helmet, acc);
430 testWeapon2(a, 0, id2, armor, helmet, acc);
431 testWeapon2(a, id1, 0, armor, helmet, acc);
432 testWeapon2(a, 0, 0, armor, helmet, acc);
433}
434
435TEST_CASE("SingleWeapon") {
436 const MockActor m;

Callers 1

game_actor.cppFile · 0.85

Calls 1

testWeapon2Function · 0.85

Tested by

no test coverage detected