mirror of
https://github.com/Noratrieb/libuwuc.git
synced 2026-01-14 19:55:07 +01:00
tests
This commit is contained in:
parent
9d74d9120c
commit
2f0191768f
6 changed files with 44 additions and 6 deletions
9
tests/c/strtol.c
Normal file
9
tests/c/strtol.c
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#include<stdlib.h>
|
||||
|
||||
int main(void) {
|
||||
char *str = "12";
|
||||
long value = strtol(str, NULL, 10);
|
||||
if (value != 12) {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue