public void ConvertStringToUpperCase(string value, string expectedResult) { var stringsInterop = new StringsInteroperation(); var actualResult = stringsInterop.ConvertStringToUpperCase(value); Assert.AreEqual(expectedResult, actualResult); }
public void RemoveTheSpacesFromWholeString(string value, string expectedResult) { var stringsInterop = new StringsInteroperation(); var actualResult = stringsInterop.RemoveSpacesFromString(value); Assert.AreEqual(expectedResult, actualResult); }
public void RemoveTheEndOfTheString(string value, int index, string expectedResult) { var stringsInterop = new StringsInteroperation(); var actualResult = stringsInterop.RemoveTheString(value, index); Assert.AreEqual(expectedResult, actualResult); }
public void VerifyStringEquals(string value, string value1, bool expectedResult) { var stringsInterop = new StringsInteroperation(); var actualResult = stringsInterop.DoesStringEqualsToOtherString(value, value1); Assert.AreEqual(expectedResult, actualResult); }
public void ReplaceTheWholeString(string valuenew, string valueold, string expectedResult) { //Arrange var stringsInterop = new StringsInteroperation(); var actualResult = stringsInterop.ReplaceTheString(valuenew, valueold); Assert.AreEqual(expectedResult, actualResult); }
public void VerifyStringLength(string value, int expectedResult) { //Arrange var stringsInterop = new StringsInteroperation(); //Act var actualResult = stringsInterop.GetStringLength(value); //Assert Assert.AreEqual(expectedResult, actualResult); }