示例#1
0
 public void GetQuestionTitleTest()
 {
     Initialize();
     _quiz.ClickStart(10, "All fill-in-blanks questions");
     Assert.AreEqual("Q1 : Fill in the Blanks", _quiz.GetQuestionTitle());
     Initialize();
     _quiz.ClickStart(10, "All multiple-choices questions");
     Assert.AreEqual("Q1 : Multiple Choice Question", _quiz.GetQuestionTitle());
 }
 public void IsStartBoxVisibleTest()
 {
     Assert.IsTrue(_presentationModel.IsStartBoxVisible());
     _quiz.ClickStart(10, "Pick up questions randomly");
     Assert.IsFalse(_presentationModel.IsStartBoxVisible());
 }