mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 06:05:58 -06:00
.autotest
git-svn-id: svn://ultimatepp.org/upp/trunk@10482 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
2c7df30513
commit
61f984116e
1 changed files with 5 additions and 0 deletions
|
|
@ -41,5 +41,10 @@ CONSOLE_APP_MAIN
|
|||
Check(FindLowerBound(x, 3), 2);
|
||||
Check(FindUpperBound(x, 3), 4);
|
||||
|
||||
Check(Count(x, 3), 2);
|
||||
Check(Count(x, 10), 1);
|
||||
Check(Count(x, 11), 0);
|
||||
Check(CountIf(x, [] (auto x) { return x % 2 == 0; }), 3);
|
||||
|
||||
LOG("================ OK");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue