Skip to content

Commit

Permalink
Draft 04: test_uuid7_time_from_hex (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
oittaa authored Jun 25, 2022
1 parent 7c329e3 commit 8d79b41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_vectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ def test_uuid6_time_from_hex(self):
self.assertEqual(uuid_6.time, uuid_1.time)

def test_uuid7_time_from_hex(self):
uuid_7 = UUID(hex="017F21CF-D130-7CC3-98C4-DC0C0C07398F")
self.assertEqual(uuid_7.time // 10**6, 1645539742000)
uuid_7 = UUID(hex="017F22E2-79B0-7CC3-98C4-DC0C0C07398F")
self.assertEqual(uuid_7.time // 10**6, 1645557742000)


if __name__ == "__main__":
Expand Down

0 comments on commit 8d79b41

Please sign in to comment.