Beispiel #1
0
        public void Left_Up_slant_no_change_test()
        {
            Reversi Test = new Reversi(new Form(), new Form());

            Test.arr[0, 0] = 2;
            Test.arr[2, 2] = 2;

            Test.Left_Up_slant_check(2, 2, 2);

            Assert.AreEqual(Test.arr[1, 1], 0);
            Assert.AreNotEqual(Test.arr[1, 1], 2);
            Test.Close();
        }