Exemplo n.º 1
0
        public void CanIdentifyPalindromes(string value, bool expected)
        {
            //Act
            var isPalindrome = _stringService.IsPalindrome(value);

            //Assert
            Assert.AreEqual(expected, isPalindrome);
        }
Exemplo n.º 2
0
        public void TestIsPalindrome(string text, bool expected)
        {
            var result = _stringService.IsPalindrome(text);

            Assert.Equal(expected, result);
        }
        public void CanIdentifyPalindromes(string value, bool expected)
        {
            var isPalindrome = _stringService.IsPalindrome(value);

            Assert.AreEqual(isPalindrome, expected);
        }