Update UuidTest.cpp

This commit is contained in:
Jérôme Leclercq 2022-03-05 00:44:54 +01:00
parent 1aa0a696ba
commit 95742b6ba3
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ SCENARIO("Uuid", "[CORE][UUID]")
std::regex uuidRegex(R"(^\b[0-9a-f]{8}\b-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-\b[0-9a-f]{12}\b$)");
Nz::Uuid uuid = Nz::Uuid::Generate();
INFO(uuid);
CHECK_FALSE(uuid.IsNull());
CHECK(std::regex_match(uuid.ToString(), uuidRegex));
CHECK(uuid == uuid);