diff --git a/test/scan.c b/test/scan.c index 10c4614..be92efe 100644 --- a/test/scan.c +++ b/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); } }