blob: b143ccd350163c4db6d6caa551fe383db9fd5ea3 [file] [log] [blame]
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "../src/collocatordb.h"
int main() {
COLLOCATORDB *cdb = open_collocatordb_for_write("/tmp/test.rocksdb");
inc_collocator(cdb, 2000, 2000, 4);
inc_collocator(cdb, 2000, 2001, 4);
inc_collocator(cdb, 2000, 2002, 4);
dump_collocators(cdb, 2000, 0, 0);
return 0;
}