2 ' This file is part of the LibreOffice project.
4 ' This Source Code Form is subject to the terms of the Mozilla Public
5 ' License, v. 2.0. If a copy of the MPL was not distributed with this
6 ' file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 Rem Attribute VBA_ModuleType=VBAModule
13 Function doUnitTest() As String
16 doUnitTest
= TestUtil
.GetResult()
20 On Error GoTo errorHandler
22 TestUtil
.AssertEqual(Asc("A"), 65, "Asc(""A"")")
23 TestUtil
.AssertEqual(Asc("a"), 97, "Asc(""a"")")
24 TestUtil
.AssertEqual(Asc("Apple"), 65, "Asc(""Apple"")")
28 TestUtil
.ReportErrorHandler("verify_testASC", Err
, Error$, Erl
)