Example #1
0
        public void ParseBoardError()
        {
            var strInput =
                @"
   | O |
-----------
   |
-----------
   | O | O 
";
            var qs  = new Quizzes();
            var ret = qs.ParseBoard(strInput);
        }
Example #2
0
        public void ParseBoard()
        {
            var strInput =
                @"
   | O | X 
-----------
   | X | O 
-----------
   | O | O 
";
            var qs = new Quizzes();

            Assert.AreEqual(" ox xo oo", qs.ParseBoard(strInput));
        }
Example #3
0
 public void ParseBoardError()
 {
     var strInput =
         @"
        | O |
     -----------
        |
     -----------
        | O | O
     ";
     var qs = new Quizzes();
     var ret = qs.ParseBoard(strInput);
 }
Example #4
0
 public void ParseBoard()
 {
     var strInput =
         @"
        | O | X
     -----------
        | X | O
     -----------
        | O | O
     ";
     var qs = new Quizzes();
     Assert.AreEqual(" ox xo oo", qs.ParseBoard(strInput));
 }