Initial commit
This commit is contained in:
commit
fdfefe7d55
31 changed files with 3242 additions and 0 deletions
16
test/unit.c
Normal file
16
test/unit.c
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
|
||||
#include "unit.h"
|
||||
|
||||
int utest_string(const char *a, const char *b) {
|
||||
|
||||
while(*a == *b) {
|
||||
|
||||
if (*a == 0)
|
||||
return 1;
|
||||
|
||||
a++;
|
||||
b++;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in a new issue