public void NewYearChaosTestCase3() { int[] input = Array.ConvertAll("1 2 5 3 7 8 6 4".Split(' '), qTemp => Convert.ToInt32(qTemp)); var expectedOutput = "7"; var actualOutput = NewYearChaos.Solve(input); Assert.AreEqual(expectedOutput, actualOutput); }
public void NewYearChaosTestCase2() { int[] input = Array.ConvertAll("2 5 1 3 4".Split(' '), qTemp => Convert.ToInt32(qTemp)); var expectedOutput = ImpossibleMessage; var actualOutput = NewYearChaos.Solve(input); Assert.AreEqual(expectedOutput, actualOutput); }