| 1 |
' This file is part of the LibreOffice project. |
| 2 |
' |
| 3 |
' This Source Code Form is subject to the terms of the Mozilla Public |
| 4 |
' License, v. 2.0. If a copy of the MPL was not distributed with this |
| 5 |
' file, You can obtain one at http://mozilla.org/MPL/2.0/. |
| 6 |
' |
| 7 |
|
| 8 |
Option VBASupport 0 |
| 9 |
Option Explicit |
| 10 |
|
| 11 |
Function doUnitTest() As String |
| 12 |
TestUtil.TestInit |
| 13 |
verify_tdf98778 |
| 14 |
doUnitTest = TestUtil.GetResult() |
| 15 |
End Function |
| 16 |
|
| 17 |
Sub verify_tdf98778() |
| 18 |
On Error GoTo errorHandler |
| 19 |
|
| 20 |
dim d as double |
| 21 |
dim s as string |
| 22 |
s="1.0E-5" |
| 23 |
d=s |
| 24 |
TestUtil.AssertEqual(d, 1E-05, "tdf#98778") |
| 25 |
|
| 26 |
Exit Sub |
| 27 |
errorHandler: |
| 28 |
TestUtil.ReportErrorHandler("verify_tdf98778", Err, Error$, Erl) |
| 29 |
End Sub |