Example #1
0
 public void SubstringMatchTest(string a, string b, int expected)
 {
     //Arrange
     Loops test = new Loops();
     //Act
     int actual = test.SubStringMatch(a,b);
     //Assert
     Assert.AreEqual(expected, actual);
 }
Example #2
0
        public void SubStringMatch(string a, string b, int expected)
        {
            Loops obj = new Loops();

            int actual = obj.SubStringMatch(a, b);

            Assert.AreEqual(expected, actual);
        }