mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
only working with dates at at string level on the model
This commit is contained in:
@@ -101,7 +101,7 @@ Match the following terms & definitions
|
||||
";
|
||||
|
||||
var quiz = LocalQuiz.ParseMarkdown(rawMarkdownQuiz);
|
||||
quiz.Questions.First().Answers.First().MatchDistractors.Should().BeEquivalentTo(["this is the distractor"]);
|
||||
quiz.Questions.First().MatchDistractors.Should().BeEquivalentTo(["this is the distractor"]);
|
||||
}
|
||||
[Fact]
|
||||
public void CanHaveDistractorsAndBePersisted()
|
||||
@@ -118,7 +118,7 @@ Description:
|
||||
---
|
||||
Match the following terms & definitions
|
||||
|
||||
^statement - a single command to be executed
|
||||
^ statement - a single command to be executed
|
||||
^ - this is the distractor
|
||||
";
|
||||
|
||||
|
||||
@@ -195,8 +195,7 @@ public class QuizDeterministicChecks
|
||||
Text = "test matching",
|
||||
QuestionType = QuestionType.MATCHING,
|
||||
Points = 1,
|
||||
Answers = new LocalQuizQuestionAnswer[]
|
||||
{
|
||||
Answers = [
|
||||
new() {
|
||||
Correct = true,
|
||||
Text="yes",
|
||||
@@ -207,7 +206,7 @@ public class QuizDeterministicChecks
|
||||
Text="no",
|
||||
MatchedText = "testing no"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user