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