Add functional simulation question review
This commit is contained in:
@@ -32,6 +32,18 @@ public sealed class ChoicePoolTests
|
||||
Assert.Equal("https://example.org/guideline", response.References[0].Url);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void ExamReviewContainsOnlyChoicesPresentedDuringTheExam()
|
||||
{
|
||||
var question = BuildQuestion(9);
|
||||
var presented = new[] { "F", "A", "C", "H", "D" };
|
||||
var response = QuestionResponse.FromModelWithChoices(question, presented);
|
||||
|
||||
Assert.Equal(presented, response.Choices.Select(choice => choice.Id));
|
||||
Assert.Equal(presented.Order(), response.ChoiceExplanations.Keys.Order());
|
||||
Assert.DoesNotContain("B", response.Choices.Select(choice => choice.Id));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void PublishedQuestionRequiresCompletePerChoiceTeachingContent()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user