public void FrontAgain(string str, bool expected) { Strings Obj = new Strings(); bool actual = Obj.FrontAgain(str); Assert.AreEqual(expected, actual); }
public void FrontAgain(string str, bool expected) { //arrange Strings obj = new Strings(); //act bool actual = obj.FrontAgain(str); //assert Assert.AreEqual(expected, actual); }
public void FrontAgain(string a, bool expResult) { Strings obj = new Strings(); bool actual = obj.FrontAgain(a); Assert.AreEqual(actual, expResult); }
public void FrontAgain(string str, bool expectedResult) { //Arrange: get my target class Strings test = new Strings(); //Act: call the method bool answer = test.FrontAgain(str); //Assert Assert.AreEqual(expectedResult, answer); }