public void ValidateUserQuestionEntryBadInputTest() { string input = "onethirty"; bool isInt = false; int index = 0; ValidateInput validInput = new ValidateInput(); validInput.ValidateUserQuestionEntry(input, out isInt, out index); Assert.False(isInt); }
public void ValidateUserQuestionEntryCorrectInputTest() { string input = "2"; bool isInt = true; int index = 0; ValidateInput validInput = new ValidateInput(); validInput.ValidateUserQuestionEntry(input, out isInt, out index); Assert.True(isInt); }