Codeforces / polygon-issue-tracking

polygon-issue-tracking
16 stars 2 forks source link

testlib.h outdated #518

Closed demidenko closed 9 months ago

demidenko commented 1 year ago

I've just created new problem and seems like testlib.h created by default is old. In first, it doesn't support opt with default value, have 5010 lines, and have different following latestFeatures (top3):

"Fixed hypothetical UB in stringToDouble and stringToStrictDouble",
"rnd.partition(size, sum[, min_part=0]) returns random (unsorted) partition which is a representation of the given `sum` as a sum of `size` positive integers (or >=min_part if specified)",
"rnd.distinct(size, n) and rnd.distinct(size, from, to)",

current file in github has 5944 lines and following latestFeatures:

"Supported '--testMarkupFileName fn' and '--testCase tc/--testCaseFileName fn' for validators",
"Added opt defaults via opt<T>(key/index, default_val); check unused opts when using has_opt or default opt (turn off this check with suppressEnsureNoUnusedOpt()).",
"For checker added --group and --testset command line params (like for validator), use checker.group() or checker.testset() to get values",
"Added quitpi(points_info, message) function to return with _points exit code 7 and given points_info",
"rnd.partition(size, sum[, min_part=1]) returns random (unsorted) partition which is a representation of the given `sum` as a sum of `size` positive integers (or >=min_part if specified)",
"rnd.distinct(size, n) and rnd.distinct(size, from, to)",

Autoupdate doesn't help