File tree Expand file tree Collapse file tree 2 files changed +5
-13
lines changed
utilities/results_generator Expand file tree Collapse file tree 2 files changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,7 @@ interface
1717
1818type
1919
20- { TResult }
21-
20+ { TResult }
2221 TResult = class
2322 Name : String;
2423 Notes: String;
@@ -28,10 +27,10 @@ TResult = class
2827 constructor Create;
2928 end ;
3029
30+ { TResultsList }
3131 TResultsList = specialize TFPGObjectList<TResult>;
3232
33- { TResults }
34-
33+ { TResults }
3534 TResults = class (TObject)
3635 private
3736 FConfig: TConfig;
@@ -54,8 +53,6 @@ implementation
5453uses
5554 fpjson
5655, jsonparser
57- , Math
58- , Utilities.ArraySort
5956;
6057
6158const
@@ -120,7 +117,7 @@ function TResults.FormatTime(ATime: Double): String;
120117 Result:= ' ' ;
121118 intPart:= Trunc(ATime);
122119 minutes:= 0 ;
123- if intPart > 60 then
120+ if intPart >= 60 then
124121 begin
125122 repeat
126123 Inc(minutes);
Original file line number Diff line number Diff line change 8585 <RunParams >
8686 <FormatVersion Value =" 2" />
8787 </RunParams >
88- <Units Count =" 7 " >
88+ <Units Count =" 6 " >
8989 <Unit0 >
9090 <Filename Value =" resultsgenerator.lpr" />
9191 <IsPartOfProject Value =" True" />
116116 <IsPartOfProject Value =" True" />
117117 <UnitName Value =" Utilities.Data.Hyperfine" />
118118 </Unit5 >
119- <Unit6 >
120- <Filename Value =" ../../../common/utilities.arraysort.pas" />
121- <IsPartOfProject Value =" True" />
122- <UnitName Value =" Utilities.ArraySort" />
123- </Unit6 >
124119 </Units >
125120 </ProjectOptions >
126121 <CompilerOptions >
You can’t perform that action at this time.
0 commit comments