public void TestCanConvert(string str1, string str2, bool expectedResult) { var stringProblems = new StringProblems(); var actualResult = stringProblems.CanConvert(str1, str2); Assert.True(expectedResult == actualResult); }