mirror of
https://github.com/Noratrieb/libuwuc.git
synced 2026-01-15 20:25:04 +01:00
fopen and tests
This commit is contained in:
parent
862ef8dc22
commit
b795ee80c9
14 changed files with 97 additions and 45 deletions
|
|
@ -1,9 +1,9 @@
|
|||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
|
||||
int main(void) {
|
||||
int main(void)
|
||||
{
|
||||
char *str = "12";
|
||||
long value = strtol(str, NULL, 10);
|
||||
if (value != 12) {
|
||||
return 1;
|
||||
}
|
||||
assert((value == 12) && "value must be 12");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue