1 CREATE EXTENSION test_integerset;
3 -- All the logic is in the test_integerset() function. It will throw
4 -- an error if something fails.
6 SELECT test_integerset();
7 NOTICE: testing intset with empty set
8 NOTICE: testing intset with distances > 2^60 between values
9 NOTICE: testing intset with single value 0
10 NOTICE: testing intset with single value 1
11 NOTICE: testing intset with single value 18446744073709551614
12 NOTICE: testing intset with single value 18446744073709551615
13 NOTICE: testing intset with value 0, and all between 1000 and 2000
14 NOTICE: testing intset with value 1, and all between 1000 and 2000
15 NOTICE: testing intset with value 1, and all between 1000 and 2000000
16 NOTICE: testing intset with value 18446744073709551614, and all between 1000 and 2000
17 NOTICE: testing intset with value 18446744073709551615, and all between 1000 and 2000
18 NOTICE: testing intset with pattern "all ones"
19 NOTICE: testing intset with pattern "alternating bits"
20 NOTICE: testing intset with pattern "clusters of ten"
21 NOTICE: testing intset with pattern "clusters of hundred"
22 NOTICE: testing intset with pattern "one-every-64k"
23 NOTICE: testing intset with pattern "sparse"
24 NOTICE: testing intset with pattern "single values, distance > 2^32"
25 NOTICE: testing intset with pattern "clusters, distance > 2^32"
26 NOTICE: testing intset with pattern "clusters, distance > 2^60"