Example #1
0
        public void ShouldReturnTrue()
        {
            Chap1_StringRotation s = new Chap1_StringRotation();
            bool result            = s.IsRotation("waterbottle", "erbottlewat");

            Assert.True(result);
        }
Example #2
0
        public void ShouldReturnFalse()
        {
            Chap1_StringRotation s = new Chap1_StringRotation();
            bool result            = s.IsRotation("water", "waert");

            Assert.False(result);
        }