MikeMirzayanov
|
750b0308df
partition: if (size == 0 && sum == 0) => return vector<>()
|
3 years ago |
MikeMirzayanov
|
c718c471df
Fixed the issue #127 (https://github.com/MikeMirzayanov/testlib/issues/127)
|
3 years ago |
MikeMirzayanov
|
c97221f30f
0.9.36-SNAPSHOT
|
3 years ago |
Mike Mirzayanov
|
020f6afe4d
Merge branch 'master' into dev-mikemirzayanov
|
3 years ago |
MikeMirzayanov
|
8b3719ca2b
quitpi
|
3 years ago |
Mike Mirzayanov
|
19c0703589
Merge pull request #124 from KalininN/master
|
3 years ago |
hos
|
7e1943ea70
Fix perturbation for relative error
|
3 years ago |
Nikolay Kalinin
|
b4be380c7a
Fix bug in distinct: result is unordered, was sorted for small sizes
|
3 years ago |
Nikolay Kalinin
|
7de10530b8
Fix a few typos in partition errors
|
3 years ago |
Nikolay Kalinin
|
64e69359f0
Fix documentation for partition (min_part=1)
|
3 years ago |
MikeMirzayanov
|
91df2b3406
Function quitpi(points_info, message)
|
3 years ago |
Mike Mirzayanov
|
f5b55f1387
Merge pull request #117 from yeputons/document-regex-spaces
|
3 years ago |
MikeMirzayanov
|
66581ca6bd
Less warnings
|
3 years ago |
Supermagzzz
|
d43416d41f
Bug with rnd.partition(1, 1, 1) fixed
|
4 years ago |
Egor Suvorov
|
a15e743b0d
Document that regexes ignore spaces (fixes #116)
|
4 years ago |
MikeMirzayanov
|
6f6b4c6511
Tiny reformat
|
4 years ago |
Mike Mirzayanov
|
fe4d5b8642
Merge pull request #113 from MikeMirzayanov/dev-mikemirzayanov
|
4 years ago |
MikeMirzayanov
|
4ae1df5295
Fixed hypothetical UB in stringToDouble and stringToStrictDouble
|
4 years ago |
Shaoyuan CHEN
|
b360795abe
Update testlib.h
|
4 years ago |
MikeMirzayanov
|
ccaea8526d
Now partition(int size, T sum) represents sum as a sum of POSITIVE numbers
|
4 years ago |
MikeMirzayanov
|
458924a419
rnd.partition(size, sum[, min_part=0]) returns random (unsorted) partition which is a representation of the given `sum` as a sum of `size` non-negative integers
|
4 years ago |
MikeMirzayanov
|
c8df912571
Fixed a grammar typo
|
4 years ago |
MikeMirzayanov
|
666f910539
rnd.distict(size, n) and rnd.distict(size, from, to)
|
4 years ago |
MikeMirzayanov
|
c48c694658
has_opt, opt<bool>("missing_key")==false, validator.testset()/validator.group() require register with command line
|
4 years ago |
MikeMirzayanov
|
3ddbd6b601
Print integer range violations in a human readable way like `violates the range [1, 10^9]` + warning fix
|
4 years ago |
MikeMirzayanov
|
5db45ac652
2020
|
5 years ago |
MikeMirzayanov
|
ccdd8fa82e
Suppress some minor warns
|
5 years ago |
MikeMirzayanov
|
e15a9e441c
Support exp notation in opts
|
5 years ago |
MikeMirzayanov
|
34f59c2742
Opts: std::string opt(index/key) functions
|
5 years ago |
MikeMirzayanov
|
224312631d
Opts supported
|
5 years ago |