Example #1
0
        public void EntityNameDoesntContainEntityPartName_ShouldReturnFalse()
        {
            bool result = GotoUtils.AutoCompleteWithCamelHumpsMatch("abc", "de");

            Assert.IsFalse(result);
        }
Example #2
0
        public void EntityPartNameIsTheFirstLetterInWordsByCamelHumps_ShouldReturnTrue()
        {
            bool result = GotoUtils.AutoCompleteWithCamelHumpsMatch("AbcDefGh", "AD");

            Assert.IsTrue(result);
        }
Example #3
0
        public void EntityNameContainEntityPartName_ShouldReturnTrue()
        {
            bool result = GotoUtils.AutoCompleteWithCamelHumpsMatch("abc", "b");

            Assert.IsTrue(result);
        }