public void ProductArrayFailureTwoArraysTests(int[] input) { Assert.ThrowsException <ArgumentException>(() => ProductArrayExceptSelf.ProductExceptSelfNoDividion(input)); }
public void ProductArraySuccessTwoArraysTests(int[] input, int[] expectedOutput) { int[] result = ProductArrayExceptSelf.ProductExceptSelfWithTwoArrays(input); CollectionAssert.AreEquivalent(expectedOutput, result); }