Difference in letter for different stages
This commit is contained in:
parent
85b20f8448
commit
698aed8860
1 changed files with 4 additions and 4 deletions
|
|
@ -112,7 +112,7 @@ TEST_CASE("[D] Deserialize full BillyObjects", "[deserialize][1]") {
|
||||||
REQUIRE(std::get<equipments>(dummy_object.objects.at(equipments::MedicKit)->get_type()) == equipments::MedicKit);
|
REQUIRE(std::get<equipments>(dummy_object.objects.at(equipments::MedicKit)->get_type()) == equipments::MedicKit);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE("[D] Pushing popping BillyObjects", "[pushpop][0]") {
|
TEST_CASE("[E] Pushing popping BillyObjects", "[pushpop][0]") {
|
||||||
constexpr std::array<billyEnums, 12> all_objects{
|
constexpr std::array<billyEnums, 12> all_objects{
|
||||||
weapons::Sword,
|
weapons::Sword,
|
||||||
weapons::Lance,
|
weapons::Lance,
|
||||||
|
|
@ -153,7 +153,7 @@ TEST_CASE("[D] Pushing popping BillyObjects", "[pushpop][0]") {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE("[D] Double erase no throw", "[pushpop][1]") {
|
TEST_CASE("[E] Double erase no throw", "[pushpop][1]") {
|
||||||
BillyObjects gestionnaire{};
|
BillyObjects gestionnaire{};
|
||||||
CharacterSheet sheet;
|
CharacterSheet sheet;
|
||||||
REQUIRE(sheet.get_objects().empty());
|
REQUIRE(sheet.get_objects().empty());
|
||||||
|
|
@ -165,7 +165,7 @@ TEST_CASE("[D] Double erase no throw", "[pushpop][1]") {
|
||||||
REQUIRE_FALSE(gestionnaire.erase_object(sheet, weapons::Bow));
|
REQUIRE_FALSE(gestionnaire.erase_object(sheet, weapons::Bow));
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE("[D] Insert no more than 3", "[pushpop][2]") {
|
TEST_CASE("[E] Insert no more than 3", "[pushpop][2]") {
|
||||||
BillyObjects gestionnaire{};
|
BillyObjects gestionnaire{};
|
||||||
CharacterSheet sheet;
|
CharacterSheet sheet;
|
||||||
REQUIRE(sheet.get_objects().empty());
|
REQUIRE(sheet.get_objects().empty());
|
||||||
|
|
@ -178,7 +178,7 @@ TEST_CASE("[D] Insert no more than 3", "[pushpop][2]") {
|
||||||
REQUIRE(sheet.get_objects().size() == 3);
|
REQUIRE(sheet.get_objects().size() == 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE("[D] Printing Billy's objects", "[printing]") {
|
TEST_CASE("[F] Printing Billy's objects", "[printing]") {
|
||||||
for (const auto &object: BillyObjects::all_objects) {
|
for (const auto &object: BillyObjects::all_objects) {
|
||||||
const std::unique_ptr<GenericObject> obj = test::get_obj(object);
|
const std::unique_ptr<GenericObject> obj = test::get_obj(object);
|
||||||
REQUIRE_NOTHROW(BillyObjects::billy_object_to_string(obj));
|
REQUIRE_NOTHROW(BillyObjects::billy_object_to_string(obj));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue