| 6 | #define NUM 1000 |
| 7 | |
| 8 | static void encode(char template[3], unsigned int val) |
| 9 | { |
| 10 | assert(val < 255 * 255); |
| 11 | template[0] = (val / 255) + 1; |
| 12 | template[1] = (val % 255) + 1; |
| 13 | template[2] = '\0'; |
| 14 | } |
| 15 | |
| 16 | static bool in_order(const char *value, unsigned int *count) |
| 17 | { |
no outgoing calls
no test coverage detected