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