/// <summary>
 /// Method that get all the questions from database
 /// and set the lists with game questions by level
 /// </summary>
 public void StartGame()
 {
     _level1Questions = _model.QuestionDAO().GetQuestions(1);
     _level2Questions = _model.QuestionDAO().GetQuestions(2);
     _level3Questions = _model.QuestionDAO().GetQuestions(3);
     _currentQuestion = 0;
 }
Exemple #2
0
 public void TestGetLevel1Questions()
 {
     Assert.AreEqual(25, _model.QuestionDAO().GetQuestions(1).Count);
 }