예제 #1
0
        public void AsteroidCollision_1()
        {
            var solution = new _0735_AsteroidCollision();
            var result   = solution.AsteroidCollision(new int[] { 5, 10, -5 });

            AssertHelper.AssertArray(new int[] { 5, 10 }, result);
        }
예제 #2
0
        public void AsteroidCollision_5()
        {
            var solution = new _0735_AsteroidCollision();
            var result   = solution.AsteroidCollision(new int[] { -2, -2, 1, -2 });

            AssertHelper.AssertArray(new int[] { -2, -2, -2 }, result);
        }