Browse Source

one more scan test

master
Felix von Leitner 19 years ago
parent
commit
ba35ddb4ee
  1. 1
      test/scan.c

1
test/scan.c

@ -12,5 +12,6 @@ int main() {
assert(scan_ulong("4294967296",&l)==9 && l==429496729);
assert(scan_ulong("42949672950",&l)==10 && l==4294967295ul);
assert(scan_ulong("5294967295",&l)==9 && l==529496729);
assert(scan_ulong("4295067295",&l)==9 && l==429506729);
}
}

Loading…
Cancel
Save