public void WhiteSpaceNextReturnsTrueWhenItShould(string whitespace) { //Arrange var keeper = new StringKeeper(whitespace); //Act/Assert keeper.WhiteSpaceNext().Should().BeTrue(); }
public void WhiteSpaceNextReturnsFalseForNonWhitespace() { //Arrange var keeper = new StringKeeper("non whitespace"); //only 'n' will be considered //Act/Assert keeper.WhiteSpaceNext().Should().BeFalse(); }
public void WhiteSpaceNextReturnsFalseForEmptyInput() { //Arrange var keeper = new StringKeeper(string.Empty); //Act/Assert keeper.WhiteSpaceNext().Should().BeFalse(); }