.autotest

git-svn-id: svn://ultimatepp.org/upp/trunk@10482 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-11-22 18:38:32 +00:00
parent 2c7df30513
commit 61f984116e

View file

@ -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");
}