public void TestMax() { var first = this.GetInput(); var second = this.GetInput(); var expected = new int[first.Length]; for (int i = 0; i < first.Length; i++) { expected[i] = first[i] > second[i] ? first[i] : second[i]; } var result = IntExtensions.Max(first, second); Assert.Equal(expected, result); }