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
17
17
18
18
type
19
19
20
- { TResult }
21
-
20
+ { TResult }
22
21
TResult = class
23
22
Name : String;
24
23
Notes: String;
@@ -28,10 +27,10 @@ TResult = class
28
27
constructor Create;
29
28
end ;
30
29
30
+ { TResultsList }
31
31
TResultsList = specialize TFPGObjectList<TResult>;
32
32
33
- { TResults }
34
-
33
+ { TResults }
35
34
TResults = class (TObject)
36
35
private
37
36
FConfig: TConfig;
@@ -54,8 +53,6 @@ implementation
54
53
uses
55
54
fpjson
56
55
, jsonparser
57
- , Math
58
- , Utilities.ArraySort
59
56
;
60
57
61
58
const
@@ -120,7 +117,7 @@ function TResults.FormatTime(ATime: Double): String;
120
117
Result:= ' ' ;
121
118
intPart:= Trunc(ATime);
122
119
minutes:= 0 ;
123
- if intPart > 60 then
120
+ if intPart >= 60 then
124
121
begin
125
122
repeat
126
123
Inc(minutes);
Original file line number Diff line number Diff line change 85
85
<RunParams >
86
86
<FormatVersion Value =" 2" />
87
87
</RunParams >
88
- <Units Count =" 7 " >
88
+ <Units Count =" 6 " >
89
89
<Unit0 >
90
90
<Filename Value =" resultsgenerator.lpr" />
91
91
<IsPartOfProject Value =" True" />
116
116
<IsPartOfProject Value =" True" />
117
117
<UnitName Value =" Utilities.Data.Hyperfine" />
118
118
</Unit5 >
119
- <Unit6 >
120
- <Filename Value =" ../../../common/utilities.arraysort.pas" />
121
- <IsPartOfProject Value =" True" />
122
- <UnitName Value =" Utilities.ArraySort" />
123
- </Unit6 >
124
119
</Units >
125
120
</ProjectOptions >
126
121
<CompilerOptions >
You can’t perform that action at this time.
0 commit comments