| 1 |
Testing small values |
| 2 |
0: 1 calls |
| 3 |
1: 2 calls |
| 4 |
2: 4 calls |
| 5 |
3: 4 calls |
| 6 |
4: 6 calls |
| 7 |
5: 6 calls |
| 8 |
6: 6 calls |
| 9 |
7: 6 calls |
| 10 |
8: 8 calls |
| 11 |
9: 8 calls |
| 12 |
10: 8 calls |
| 13 |
11: 8 calls |
| 14 |
12: 8 calls |
| 15 |
13: 8 calls |
| 16 |
14: 8 calls |
| 17 |
15: 8 calls |
| 18 |
16: 10 calls |
| 19 |
17: 10 calls |
| 20 |
18: 10 calls |
| 21 |
19: 10 calls |
| 22 |
|
| 23 |
Testing around max_int/2 |
| 24 |
|
| 25 |
Testing around max_int |
| 26 |
|
| 27 |
Showing predicate calls for find_first_mono to find n=100 |
| 28 |
call on 0 |
| 29 |
call on 1 |
| 30 |
call on 3 |
| 31 |
call on 7 |
| 32 |
call on 15 |
| 33 |
call on 31 |
| 34 |
call on 63 |
| 35 |
call on 127 |
| 36 |
call on 95 |
| 37 |
call on 111 |
| 38 |
call on 103 |
| 39 |
call on 99 |
| 40 |
call on 101 |
| 41 |
call on 100 |
| 42 |
result: 100 |
| 43 |
|
| 44 |
Test constantly-false predicates |
| 45 |
Constantly-false predicates are outside the spec, |
| 46 |
but we ask them to return [max_int] rather than loop or crash. |
| 47 |
|
| 48 |
Test non-monotonous predicates |
| 49 |
Non-monotonous predicates are outside the spec, |
| 50 |
but we ask them to find a satisfying value rather than loop or crash |
| 51 |
as long as they are asymptotically true. |
| 52 |
|
| 53 |
|
| 54 |
All tests succeeded. |