diff options
Diffstat (limited to 'basic')
-rw-r--r-- | basic/qa/basic_coverage/test_hexliteral_negIntLimit-2.vb | 4 | ||||
-rw-r--r-- | basic/qa/basic_coverage/test_hexliteral_posIntLimit.vb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/basic/qa/basic_coverage/test_hexliteral_negIntLimit-2.vb b/basic/qa/basic_coverage/test_hexliteral_negIntLimit-2.vb index f33d74cf8dd9..c660486a5618 100644 --- a/basic/qa/basic_coverage/test_hexliteral_negIntLimit-2.vb +++ b/basic/qa/basic_coverage/test_hexliteral_negIntLimit-2.vb @@ -9,8 +9,8 @@ Function doUnitTest as Integer Dim lngDecimal as Long - lngDecimal = Clng(&HFFFFFFFF) - If lngDecimal = -1 Then + lngDecimal = Clng(&H80000000) + If lngDecimal = -2147483648 Then doUnitTest = 1 Else doUnitTest = 0 diff --git a/basic/qa/basic_coverage/test_hexliteral_posIntLimit.vb b/basic/qa/basic_coverage/test_hexliteral_posIntLimit.vb index c660486a5618..a03dadc42095 100644 --- a/basic/qa/basic_coverage/test_hexliteral_posIntLimit.vb +++ b/basic/qa/basic_coverage/test_hexliteral_posIntLimit.vb @@ -9,8 +9,8 @@ Function doUnitTest as Integer Dim lngDecimal as Long - lngDecimal = Clng(&H80000000) - If lngDecimal = -2147483648 Then + lngDecimal = Clng(&H7FFFFFFF) + If lngDecimal = 2147483647 Then doUnitTest = 1 Else doUnitTest = 0 |