initial
[prop.git] / lib-src / contain / test.cc
blob1e68930eb7a94342415ee5a46809f16699d499f8
1 #include <stdlib.h>
2 #include <iostream.h>
3 #include <AD/memory/mempool.h>
4 #include <AD/contain/fbitset.h>
6 int main()
7 { MemPool mem;
8 int N = 128;
9 FastBitSet set(mem,N);
10 for (int i = 0; i < N; i++)
11 { int j = drand48() * N;
12 cerr << "+" << j << ' ';
13 set.add(j);
14 cerr << set << '\n';
16 return 0;