예제 #1
0
        private void RunCountBlackTest(string ballSequence, int repetitions, int expected)
        {
            MathContest target = new MathContest();             // TODO: Initialize to an appropriate value
            int         actual;

            actual = target.countBlack(ballSequence, repetitions);
            Assert.AreEqual(expected, actual);
        }
예제 #2
0
 // END CUT HERE
 // BEGIN CUT HERE
 public static void Main()
 {
     try
     {
         MathContest ___test = new MathContest();
         ___test.run_test(-1);
     }
     catch (Exception e)
     {
         //Console.WriteLine(e.StackTrace);
         Console.WriteLine(e.ToString());
     }
 }
예제 #3
0
 // END CUT HERE
 // BEGIN CUT HERE
 public static void Main()
 {
     try
     {
         MathContest ___test = new MathContest();
         ___test.run_test(-1);
     }
     catch (Exception e)
     {
         //Console.WriteLine(e.StackTrace);
         Console.WriteLine(e.ToString());
     }
 }