Exemple #1
0
 public void CreateForMultipleChoice()
 {
     Assert.AreEqual(QuestionType.MultipleChoice.ToString(), QuestionTemplateFactory.Create(new QuestionAnswer {
         QuestionType = QuestionType.MultipleChoice
     }));
 }
Exemple #2
0
 public void CreateForFiveStars()
 {
     Assert.AreEqual(QuestionType.FiveStars.ToString(), QuestionTemplateFactory.Create(new QuestionAnswer {
         QuestionType = QuestionType.FiveStars
     }));
 }
Exemple #3
0
 public void CreateForSimpleText()
 {
     Assert.AreEqual(QuestionType.SimpleText.ToString(), QuestionTemplateFactory.Create(new QuestionAnswer {
         QuestionType = QuestionType.SimpleText
     }));
 }