Exemple #1
0
        public void ShouldReturnTrueIfAllCharactersAreUnique()
        {
            var input = "abcd";

            Assert.True(SingleCharacter.AllCharactersAreUnique(input));
        }
Exemple #2
0
        public void ShouldReturnFalseIfAllCharactersAreNotUnique()
        {
            var input = "abcdc";

            Assert.False(SingleCharacter.AllCharactersAreUnique(input));
        }