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