summaryrefslogtreecommitdiff
path: root/basic/qa/vba_tests/cint.vb
diff options
context:
space:
mode:
Diffstat (limited to 'basic/qa/vba_tests/cint.vb')
-rw-r--r--basic/qa/vba_tests/cint.vb4
1 files changed, 4 insertions, 0 deletions
diff --git a/basic/qa/vba_tests/cint.vb b/basic/qa/vba_tests/cint.vb
index 6c1d53c93c61..a178a0f97d62 100644
--- a/basic/qa/vba_tests/cint.vb
+++ b/basic/qa/vba_tests/cint.vb
@@ -73,6 +73,10 @@ REM TestLog_ASSERT nr1 = nr2, "the return CInt is: " & nr1
nr1 = CInt("&H754")
TestLog_ASSERT nr1 = nr2, "the return CInt is: " & nr1
+ nr2 = 21
+ nr1 = CInt("+21")
+ TestLog_ASSERT nr1 = nr2, "the return CInt is:" & nr1
+
result = result & Chr$(10) & "Tests passed: " & passCount & Chr$(10) & "Tests failed: " & failCount & Chr$(10)
verify_testCInt = result