Simple testlib.h wrapper to run polygon requirements locally.
Copy main.cpp
and add code to int main(int argc, char* argv[])
or replace testlib.h function to wrapper function.
Coverage
- Fully Covered
- Supports almost same function at local.
- Just Wrapped
- Just passes at local.
- Not Supported
testlib.h | wrapper fn | coverage |
---|---|---|
registerGen(int argc, char* argv[]) |
w_register(int argc, char* argv[]) |
1 |
rnd.next(int n) |
w_rnd_next(int n) |
|
rnd.next(int L, int R) |
w_rnd_next(int init, int fin) |
|
rnd.next(double n) |
- | |
rnd.next(string pattern) |
- | |
rnd.wnext(int n, int t) |
- | |
rnd.any(container) |
- |
testlib.h | wrapper fn | coverage |
---|---|---|
void registerValidation(int argc, char* argv[]) |
void w_register(int argc, char* argv[]) |
2 |
void setTestCase(int T) |
- | |
void unsetTestCase() |
- | |
string validator.testset() |
- | |
string validator.group() |
- | |
void ensure(bool cond) |
void w_ensure(bool cond) |
|
void ensuref(bool cond, char *format, ...) |
void w_ensuref(bool cond, char *format) |
testlib.h | wrapper fn | coverage |
---|---|---|
(All functions of Checkers) | - |
testlib.h | wrapper fn | coverage |
---|---|---|
(All functions of Interactors) | - |