svoid test_intersectSortedIntArrays_ofs_optimized2() { Random random = repeatableRandomizer(); repeat 1000 { int[] a = randomSortedIntArray(10, random); int[] b = randomSortedIntArray(10, random); int ofs = random(2, random); print(asList(a) + " / " + asList(b) + " / " + ofs); assertEqualsVerbose( asList(intersectSortedIntArrays_ofs(a, b, ofs)), asList(intersectSortedIntArrays_ofs_optimized2(a, b, ofs))); } }