Update git submodules
[LibreOffice.git] / basic / qa / basic_coverage / test_tdf98778.bas
blob451d4bde70bc9622fbf4fa0c962da74f8e2d3a66
1 ' This file is part of the LibreOffice project.
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/.
8 Option VBASupport 0
9 Option Explicit
11 Function doUnitTest() As String
12 TestUtil.TestInit
13 verify_tdf98778
14 doUnitTest = TestUtil.GetResult()
15 End Function
17 Sub verify_tdf98778()
18 On Error GoTo errorHandler
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")
26 Exit Sub
27 errorHandler:
28 TestUtil.ReportErrorHandler("verify_tdf98778", Err, Error$, Erl)
29 End Sub