Esempio n. 1
0
 private void assertUUIDGreaterOrderHelper(UUID uuid1, UUID uuid2)
 {
     assertTrue(uuid1 + " did not test as larger then " + uuid2,
                 0 < uuid1.CompareTo(uuid2));
     assertTrue(uuid2 + " did not test as smaller then " + uuid1,
                 0 > uuid2.CompareTo(uuid1));
 }
Esempio n. 2
0
 private void assertUUIDEqualOrderHelper(UUID uuid1, UUID uuid2)
 {
     assertTrue(uuid1 + " did not test as equal to " + uuid2,
                 0 == uuid1.CompareTo(uuid2));
     assertTrue(uuid2 + " did not test as equal to " + uuid1,
                 0 == uuid2.CompareTo(uuid1));
 }