示例#1
0
        public void CompareKnownGood1()
        {
            // Arrange - setup the test data
            string s1 = "eat";
            string s2 = "tea";

            // Act
            bool result = MatchString.Match(s1, s2);

            // Assert
            Assert.IsTrue(result);
        }
示例#2
0
        public void CompareUnequalLengths()
        {
            // Arrange - setup the test data
            string s1 = "eat";
            string s2 = "teas";

            // Act
            bool result = MatchString.Match(s1, s2);

            // Assert
            Assert.IsFalse(result);
        }