public void CountLast2(string str, int expected) { Loops obj = new Loops(); int actual = obj.CountLast2(str); Assert.AreEqual(expected, actual); }
public void CountLast2test(string str, int expected) { //Arrange Loops test = new Loops(); //Act int actual = test.CountLast2(str); //Assert Assert.AreEqual(expected, actual); }
public void CountLast2(string a, int expected) { // arrange Loops obj = new Loops(); // act int actual = obj.CountLast2(a); // assert Assert.AreEqual(expected, actual); }