StrToInt32 Validation
- From: "John O'Harrow" <john@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 21 Dec 2006 14:59:59 -0000
Despite the very extensive validation in the StrToInt32 challenge, I have
produced a faulty challenge function which passes validation
The following additional test string needs to be added to the procedure
TMainForm.FillTestSetArray2
Inc(Size);
SetLength(TestSetArray2, Size);
TestSetArray2[Size-1].S := '$2000000000000000';
This detects that functions do not "wrap around" the result as it is built
up internally.
I have a couple of new functions for this challenge which I will upload to
Yahoo shortly.
--
regards,
John
The Fastcode Project:
http://www.fastcodeproject.org/
.
- Follow-Ups:
- Re: StrToInt32 Validation
- From: Dennis
- Re: StrToInt32 Validation
- Prev by Date: Re: Fastcode Validation Result Management Tool
- Next by Date: Re: Fastcode Supported Compilers
- Previous by thread: New CharPosIEx functions
- Next by thread: Re: StrToInt32 Validation
- Index(es):