@Test
public void testLocateForBetween() {

    assertEquals(set(0, 1),  test.locateForBetween((exp(M, 0, 1))));
    assertEquals(all,  test.locateForBetween((exp(M, 0, 2))));
    assertEquals(all,  test.locateForBetween((exp(M, 0, 3))));
    assertEquals(all,  test.locateForBetween((exp(M, 0, 4))));
    
    assertEquals(set(1, 2),  test.locateForBetween((exp(M, 1, 2))));
    assertEquals(all,  test.locateForBetween((exp(M, 1, 3))));
    assertEquals(all,  test.locateForBetween((exp(M, 1, 4))));
    
    assertEquals(set(2, 0),  test.locateForBetween((exp(M, 2, 3))));
    assertEquals(all,  test.locateForBetween((exp(M, 2, 4))));
    assertEquals(all,  test.locateForBetween((exp(M, 2, 5))));
}