Implements ConstString in several core places in the library, improving performance.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -13,7 +13,7 @@ TEST_CASE("Create basic creature", "[Library]") {
|
||||
TEST_CASE("Get creature species", "[Library]") {
|
||||
auto library = TestLibrary::Get();
|
||||
auto creature = CreateCreature(library, "testSpecies1", 1).Create();
|
||||
REQUIRE(creature->GetSpecies()->GetName() == "testSpecies1");
|
||||
REQUIRE(creature->GetSpecies()->GetName() == "testSpecies1"_cnc);
|
||||
delete creature;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user