public void CountPairsTest(int[] inp_array, int output, int Target = 4) { var res = Task4.CountPairs(inp_array, Target); Assert.AreEqual(res, output); }
public void NumberOfPairsTest(int[] input_array, int output, int turgetnumber = 5) { var res = Task4.NumberOfPairs(input_array, turgetnumber); Assert.AreEqual(res, output); }