public void AreUniqueShouldReturnTrueWithRepeatedItem() { var strings = new[] { "one", "one", "two" }; var result = strings.AreUnique(); Assert.That(result, Is.False); }
public void AreUniqueShouldReturnFalseForAUniqueArray() { var strings = new[] { "one", "two", "three" }; var result = strings.AreUnique(); Assert.That(result, Is.True); }