|
|
@ -76,11 +76,17 @@ TEST_CASE("the ritual belt works", "[rituals-belt]") { |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
{ |
|
|
|
auto action = re.finalize(plan); |
|
|
|
auto action = re.finalize(plan); |
|
|
|
the_belt.equipped.push_back(action); |
|
|
|
the_belt.equip(0, action); |
|
|
|
|
|
|
|
REQUIRE(the_belt.has(0)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
{ |
|
|
|
auto action = the_belt.equipped.at(0); |
|
|
|
auto action = the_belt.get(0); |
|
|
|
action.dump(); |
|
|
|
action.dump(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
the_belt.unequip(0); |
|
|
|
|
|
|
|
REQUIRE(!the_belt.has(0)); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|