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