Skip to content

Commit

Permalink
test/uuid: Update
Browse files Browse the repository at this point in the history
  • Loading branch information
lhmouse committed Apr 7, 2024
1 parent a6e9f52 commit 7eb88fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/uuid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 7eb88fc

Please sign in to comment.