public void AnswerQuestion_ResponseIsValid_AnswerIsWrong() { int responseIndex = 2; Assesment a = new Assesment(DEFAULT_ID); AssesmentAnswerQuestionResult result = a.AnswerQuestion(responseIndex); Assert.IsFalse(a.ResponseWasRight()); }
public void AnswerQuestion_ResponseIsValid_AnswerIsSuccessful() { int responseIndex = 1; Assesment a = new Assesment(DEFAULT_ID); AssesmentAnswerQuestionResult result = a.AnswerQuestion(responseIndex); Assert.AreEqual(true, a.ResponseWasRight()); }