mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 12:18:03 +02:00
tests: fix range check error
git-svn-id: trunk@42523 -
This commit is contained in:
parent
25b5b1428e
commit
46fe5c5c38
@ -73,13 +73,13 @@ begin
|
||||
with FMap do
|
||||
begin
|
||||
for i := 0 to 255 do begin
|
||||
ID := i shl 24;
|
||||
ID := dword(i) shl 24;
|
||||
AInt:=i;
|
||||
Add(ID,AInt);
|
||||
end;
|
||||
for i := 0 to 255 do begin
|
||||
AInt:= 0;
|
||||
ID := i shl 24;
|
||||
ID := dword(i) shl 24;
|
||||
GetData(ID,AInt);
|
||||
AssertEquals('Wrong entry for '+ IntToStr(i), i, AInt);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user