@Test public void shouldFindEveryPairLinear() {

  int[] inputArray = { 5, 2, 6, 1, 9 };
  int inputValue = 7;
  List<Pair<Integer, Integer>> result =
      findSums.findLinearComplexityOrder(inputArray, inputValue);
  assertTrue(result.contains(new Pair<Integer, Integer>(2, 5)));
  assertTrue(result.contains(new Pair<Integer, Integer>(1, 6)));
}