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