Lines Matching refs:Pair
99 public void testVarargsCustomClass(Pair... pairs){ in testVarargsCustomClass()
107 new Object[]{new Pair(0, 0), new Pair(1, 1), new Pair(2, 3)} in parametersForTestVarargsCustomClass()
113 public void testVarargsMoreArgs(int sumOfX, int sumOfY, Pair... pairs){ in testVarargsMoreArgs()
116 for (Pair pair : pairs) { in testVarargsMoreArgs()
125 …w Object[]{new Object[]{40, 50, new Pair(17, 21), new Pair(12, 18), new Pair(11, 11)}, new Object[… in parametersForTestVarargsMoreArgs()
126 15), new Pair(7, 5)}}; in parametersForTestVarargsMoreArgs()
131 public void testVargsMoreArgsOfTheSameType(Pair sum, Pair... pairs) { in testVargsMoreArgsOfTheSameType()
137 …n new Object[]{new Object[]{new Pair(10, 30), new Pair(7, 17), new Pair(3, 13)}, new Object[]{new … in parametersForTestVargsMoreArgsOfTheSameType()
138 21), new Pair(2, 19)}}; in parametersForTestVargsMoreArgsOfTheSameType()
154 private class Pair{ class in TestMethodTest
156 public Pair(int x, int y){ in Pair() method in TestMethodTest.Pair