public void UniqueTest() { var length = 5; // loop a few times for (var i = 0; i < 200; i++) { Unique.GetValue(length, false); var actual = Unique.GetValue(length, false); Assert.That(actual, Is.Not.False); } }
public void UniqueTestCaseInsensitive() { string expected, actual; var length = 5; // loop a few times for (var i = 0; i < 200; i++) { expected = Unique.GetValue(length, true); actual = Unique.GetValue(length, true); Assert.That(actual, Is.Not.EqualTo(expected)); } }