diff --git a/test/uuid.cpp b/test/uuid.cpp index 9788b8ad..56a622a9 100644 --- a/test/uuid.cpp +++ b/test/uuid.cpp @@ -53,4 +53,7 @@ main() POSEIDON_TEST_CHECK(t1.parse("2F6F4C9A-4CFF-4DBE-A483-9E9AE3A1AA63") == 36); POSEIDON_TEST_CHECK(t2.parse("2F6F4C9A-4D01-4DBE-82DE-030869CBE90C") == 36); POSEIDON_TEST_CHECK(t1 < t2); + + POSEIDON_TEST_CHECK(t1.parse("00010002-0003-0004-0005-000600070008") == 36); + POSEIDON_TEST_CHECK(UUID::hash()(t1) == (size_t) 0xE000C0014001000); }