Пример #1
0
        public static void callProductExceptSelf()
        {
            ProductExceptSelf prob = new ProductExceptSelf();

            prob.GetProductExceptSelf(new int[] { 1, 2, 3, 4 });
        }
        public void Test(int[] input, int[] expected)
        {
            var result = ProductExceptSelf.Compute(input);

            result.Should().BeEquivalentTo(expected);
        }