diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-07-09 22:29:24 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-07-16 19:00:03 -0400 |
commit | 86bbe5bfbc0bf213e9d3fafbe6c64d59b9fc90ea (patch) | |
tree | 0441ba165b32024320d62b04e38e26fdf9e05339 /src/shared/test-tables.h | |
parent | e46eab86cd119b04ac14f5a2b404a614ae350016 (diff) |
test-tables: add new entries
One missing string found.
A few things had to be moved around to make it possible to test them.
Diffstat (limited to 'src/shared/test-tables.h')
-rw-r--r-- | src/shared/test-tables.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/test-tables.h b/src/shared/test-tables.h index 3261302077..3ac8729d74 100644 --- a/src/shared/test-tables.h +++ b/src/shared/test-tables.h @@ -49,3 +49,6 @@ static inline void _test_table(const char *name, #define test_table(lower, upper) \ _test_table(STRINGIFY(lower), lower##_to_string, lower##_from_string, _##upper##_MAX, false) + +#define test_table_sparse(lower, upper) \ + _test_table(STRINGIFY(lower), lower##_to_string, lower##_from_string, _##upper##_MAX, true) |