@Test public void recBuffer02() {

    RecordBuffer rb = make(4, 4);
    int idx = -1;
    idx = find(rb, 6);
    assertEquals(2, idx);
    idx = find(rb, 8);
    assertEquals(3, idx);
    idx = find(rb, 4);
    assertEquals(1, idx);
    idx = find(rb, 2);
    assertEquals(0, idx);
    idx = find(rb, 3);
    assertEquals(-2, idx);
    idx = find(rb, 0);
    assertEquals(-1, idx);
    idx = find(rb, 10);
    assertEquals(-5, idx);
}