Пример #1
0
 private void AddQuestions(Bee test, int num_questions)
 {
     for (int i = 0; i < num_questions; i++)
         test.AddQuestion(questions[i, 0], questions[i, 1]);
 }
Пример #2
0
 public void TestSameQuestion()
 {
     Bee test = new Bee();
     Assert.IsTrue(test.AddQuestion("What is the capitol of texas?", "Austin"));
     Assert.IsFalse(test.AddQuestion("What is the Capitol of Texas?", "Dallas"));
 }