Esempio n. 1
0
        public void TestBallRemovalFromArrayBySection6()
        {
            var arr = new List <int> {
                -4, 0, 1, 2, 2
            };

            BoardUtils.RemoveZeroAtSectionFromList(arr, 1);
            S(arr, new List <int> {
                -5, 1, 2, 2
            });
        }
Esempio n. 2
0
        public void TestBallRemovalFromArrayBySection1()
        {
            var arr = new List <int> {
                0, -1, 2, 2
            };

            BoardUtils.RemoveZeroAtSectionFromList(arr, 0);
            S(arr, new List <int> {
                -2, 2, 2
            });
        }