Пример #1
0
        public void GetNumberOfEachMoveTest()
        {
            Alg alg = Alg.FromString("L2 B F' R L2 F2 L2 R");

            int[] expected =
            {
                2, 0, 0, 0, 0, 0, 0, 1, 1,
                0, 3, 0, 0, 0, 0, 1, 0, 0
            };
            int[] result = alg.GetCountOfEachMove();

            CollectionAssert.AreEqual(expected, result);
        }