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