public void TestRandom() { UUID.SetRandomSeed(1); UUID uuid1 = new UUID(); UUID.SetRandomSeed(1); UUID uuid2 = new UUID(); Assert.AreEqual(uuid1.UUIDString, uuid2.UUIDString); uuid1 = new UUID(); uuid2 = new UUID(); if (uuid1.UUIDString == uuid2.UUIDString) { Assert.Inconclusive(); } }