blob: 5a86cc87924cb4e953606c60ad525f07093da9fc [file] [log] [blame]
Marc Kupietz06c9a9f2018-01-02 16:56:43 +01001#include <stdio.h>
2#include <stdlib.h>
3#include <math.h>
4#include "collocatordb.h"
5
6int main() {
Marc Kupietz6aec7682018-01-10 09:47:48 +01007 COLLOCATORDB *cdb = open_collocatordb_for_write("/tmp/test.rocksdb");
8 inc_collocator(cdb, 2000, 2000, 4);
9 inc_collocator(cdb, 2000, 2001, 4);
10 inc_collocator(cdb, 2000, 2002, 4);
Marc Kupietz06c9a9f2018-01-02 16:56:43 +010011 dump_collocators(cdb, 2000, 0, 0);
12 return 0;
13}