|
@@ -38,6 +38,7 @@ type
|
|
TTestBugs = class(TTestCase)
|
|
TTestBugs = class(TTestCase)
|
|
published
|
|
published
|
|
procedure Test_QuadraticProbing_InfinityLoop;
|
|
procedure Test_QuadraticProbing_InfinityLoop;
|
|
|
|
+ procedure Test_GetEqualityComparer;
|
|
end;
|
|
end;
|
|
|
|
|
|
implementation
|
|
implementation
|
|
@@ -58,6 +59,11 @@ begin
|
|
LMap.Free;
|
|
LMap.Free;
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
+procedure TTestBugs.Test_GetEqualityComparer;
|
|
|
|
+begin
|
|
|
|
+ TDelphiQuadrupleHashFactory.GetHashService.LookupEqualityComparer(TypeInfo(Integer), SizeOf(Integer));
|
|
|
|
+end;
|
|
|
|
+
|
|
begin
|
|
begin
|
|
RegisterTest(TTestBugs);
|
|
RegisterTest(TTestBugs);
|
|
end.
|
|
end.
|