package nu.marginalia.index.service.util;

class DictionaryDataTest {

//    @Test
//    public void testDataBankGrow2() {
//        var dataBank = new DictionaryData(65535);
//        for (int i = 0; i < 64; i++) {
//            String s = "" + i;
//            int offset = dataBank.add(s.getBytes(), i);
//            System.out.println(s + " " + offset + " " + new String(dataBank.getKey(i)) + " " + dataBank.getValue(i));
//
//            Assertions.assertEquals(s, new String(dataBank.getKey(i)));
//            Assertions.assertEquals(i, dataBank.getValue(i));
//        }
//    }
}