public void Test(string S, string expectedResult) { var stringProblems = new StringProblems(); var actualResult = stringProblems.ReorganizeString(S); Assert.True(expectedResult.Equals(actualResult)); }