@Test
public void testIntersection() {

	int[] a = new int[] { 1,3,5,10,12};
	int[] b = new int[] {1,12,20};
	int[] inter = new int[] {1,12};
	int[] union = new int[] {1,3,5,10,12,20};
	
	Assert.assertArrayEquals(inter, Relatedness.intersection(a, b, 5, 3));
	Assert.assertArrayEquals(union, Relatedness.sortedunion(a, b, 5, 3));
	
}