| Marc Kupietz | 06c9a9f | 2018-01-02 16:56:43 +0100 | [diff] [blame^] | 1 | #include <stdio.h> |
| 2 | #include <stdlib.h> | ||||
| 3 | #include <math.h> | ||||
| 4 | #include "collocatordb.h" | ||||
| 5 | |||||
| 6 | int main() { | ||||
| 7 | COLLOCATORS *cdb = open_collocators("/tmp/test2"); | ||||
| 8 | inc_collocators(cdb, 2000, 2000, 4); | ||||
| 9 | inc_collocators(cdb, 2000, 2001, 4); | ||||
| 10 | inc_collocators(cdb, 2000, 2002, 4); | ||||
| 11 | dump_collocators(cdb, 2000, 0, 0); | ||||
| 12 | return 0; | ||||
| 13 | } | ||||