public void Initialize()
        {
            var TestDic = new Dictionary <string, bool>();

            TestDic.Add("TestAnswerTrue", true);
            TestDic.Add("TestAnswerFalse", false);

            TestObject = new QuizDataJson();
            TestObject.AddQuestion("TestQuestion1");
            TestObject.AddAnswers(TestDic);
        }
Ejemplo n.º 2
0
 public void AddPage(Dictionary <string, bool> answers, string question)
 {
     Data.AddAnswers(answers);
     Data.AddQuestion(question);
 }