|
1 | 1 | CREATE EXTENSION test_integerset;
|
2 | 2 | --
|
3 |
| --- These tests don't produce any interesting output. We're checking that |
4 |
| --- the operations complete without crashing or hanging and that none of their |
5 |
| --- internal sanity tests fail. They print progress information as INFOs, |
6 |
| --- which are not interesting for automated tests, so suppress those. |
| 3 | +-- All the logic is in the test_integerset() function. It will throw |
| 4 | +-- an error if something fails. |
7 | 5 | --
|
8 |
| -SET client_min_messages = 'warning'; |
9 | 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" |
10 | 27 | test_integerset
|
11 | 28 | -----------------
|
12 | 29 |
|
|
0 commit comments