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); }
public void AddPage(Dictionary <string, bool> answers, string question) { Data.AddAnswers(answers); Data.AddQuestion(question); }