This repository has been archived on 2021-10-31. You can view files and clone it, but cannot push or open issues or pull requests.
sys_prog/sortstrings/tests/test0.c

12 lines
234 B
C
Raw Normal View History

2019-10-09 08:18:40 +00:00
#include <assert.h>
#include <string.h>
extern void sort_strings(const char * input, char * output, unsigned int n);
int main() {
char buf[100];
sort_strings("", buf, 1);
assert(memcmp(buf, "", 1) == 0);
return 0;
}