You've already forked lazarus-ccr
fpspreadsheet: FPC trunk on Linux x64 also needs error margins (so FPC 2.6.x on Linux x64 is the only one tested that does not need it).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3341 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -406,7 +406,8 @@ begin
|
|||||||
|
|
||||||
if not(TestWorkSheet.ReadAsDateTime(Row, 0, ActualDateTime)) then
|
if not(TestWorkSheet.ReadAsDateTime(Row, 0, ActualDateTime)) then
|
||||||
Fail('Could not read date time value for cell '+CellNotation(TestWorkSheet,Row));
|
Fail('Could not read date time value for cell '+CellNotation(TestWorkSheet,Row));
|
||||||
{$ifdef mswindows}
|
{$if (defined(mswindows)) or (FPC_FULLVERSION>=20701)}
|
||||||
|
// FPC 2.6.x and trunk on Windows need this, also FPC trunk on Linux x64
|
||||||
CheckEquals(SollDates[Row],ActualDateTime,ErrorMargin,'Test date/time value mismatch, '
|
CheckEquals(SollDates[Row],ActualDateTime,ErrorMargin,'Test date/time value mismatch, '
|
||||||
+'cell '+CellNotation(TestWorksheet,Row));
|
+'cell '+CellNotation(TestWorksheet,Row));
|
||||||
{$else}
|
{$else}
|
||||||
|
@ -214,7 +214,8 @@ begin
|
|||||||
'Test read calculated formula result mismatch, formula "' + formula +
|
'Test read calculated formula result mismatch, formula "' + formula +
|
||||||
'", cell '+CellNotation(MyWorkSheet,Row,1));
|
'", cell '+CellNotation(MyWorkSheet,Row,1));
|
||||||
atNumber:
|
atNumber:
|
||||||
{$ifdef mswindows}
|
{$if (defined(mswindows)) or (FPC_FULLVERSION>=20701)}
|
||||||
|
// FPC 2.6.x and trunk on Windows need this, also FPC trunk on Linux x64
|
||||||
CheckEquals(expected.NumberValue, actual.NumberValue, ErrorMargin,
|
CheckEquals(expected.NumberValue, actual.NumberValue, ErrorMargin,
|
||||||
'Test read calculated formula result mismatch, formula "' + formula +
|
'Test read calculated formula result mismatch, formula "' + formula +
|
||||||
'", cell '+CellNotation(MyWorkSheet,Row,1));
|
'", cell '+CellNotation(MyWorkSheet,Row,1));
|
||||||
|
Reference in New Issue
Block a user