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

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

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