Esempio n. 1
0
        private static void WorkingWithStringsExample()
        {
            WorkingWithStrings workingWithString = new WorkingWithStrings();

            workingWithString.BasicStringFunctionality();
        }
Esempio n. 2
0
        public void CheckIfStringDoesNotContainANumber(string data)
        {
            var repo = new WorkingWithStrings();

            Assert.IsFalse(repo.DoesStringContainANumber(data));
        }
Esempio n. 3
0
        public void CheckIfStringIsGreaterThan5Chars(string data)
        {
            var repo = new WorkingWithStrings();

            Assert.IsTrue(repo.IsStringGreaterThan5Characters(data));
        }
Esempio n. 4
0
        public void CheckIfStringContainsVowel(string data)
        {
            var repo = new WorkingWithStrings();

            Assert.IsTrue(repo.DoesStringContainAVowel(data));
        }
Esempio n. 5
0
        public void CheckIfStringIsNotAPalindrome(string data)
        {
            var repo = new WorkingWithStrings();

            Assert.IsFalse(repo.IsStringAPalindrome(data));
        }