| Test |
Method name |
Duration |
Result |
| CartesianProduct: size() and sizeExact() match product, incl. zero dim |
cartesianCounts() |
0.001s |
passed |
| Combinations (no rep): size() = C(n,k), sizeExact() agrees |
combinationsNoRepCounts() |
0.001s |
passed |
| Combinations (with rep): size() = C(n+k-1,k), sizeExact() agrees |
combinationsWithRepCounts() |
0s |
passed |
| Derangements: All.size() equals Builder.size() and known values for n=0..8 |
derangementsCounts() |
0.019s |
passed |
| Permutations: size() = P(n,k), sizeExact() agrees |
permutationsCounts() |
0.001s |
passed |
| PowerSet: count()==2^n and size() agrees for small n |
powerSetCounts() |
0.001s |
passed |