diff options
Diffstat (limited to 'basic/qa')
-rw-r--r-- | basic/qa/basic_coverage/test_cdatetofromiso_methods.vb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/basic/qa/basic_coverage/test_cdatetofromiso_methods.vb b/basic/qa/basic_coverage/test_cdatetofromiso_methods.vb index 3eb5e63e83ff..7036762743e1 100644 --- a/basic/qa/basic_coverage/test_cdatetofromiso_methods.vb +++ b/basic/qa/basic_coverage/test_cdatetofromiso_methods.vb @@ -12,6 +12,26 @@ Function doUnitTest as Integer doUnitTest = 0 ElseIf ( CDateToIso( CDateFromIso("2016-10-16") ) <> "20161016" ) Then doUnitTest = 0 + ElseIf ( CDateToIso( CDateFromIso("-2016-10-16") ) <> "-20161016" ) Then + doUnitTest = 0 + ElseIf ( CDateToIso( CDateFromIso("-20161016") ) <> "-20161016" ) Then + doUnitTest = 0 + ElseIf ( CDateToIso( CDateFromIso("12016-10-16") ) <> "120161016" ) Then + doUnitTest = 0 + ElseIf ( CDateToIso( CDateFromIso("120161016") ) <> "120161016" ) Then + doUnitTest = 0 + ElseIf ( CDateToIso( CDateFromIso("-12016-10-16") ) <> "-120161016" ) Then + doUnitTest = 0 + ElseIf ( CDateToIso( CDateFromIso("-120161016") ) <> "-120161016" ) Then + doUnitTest = 0 + ElseIf ( CDateToIso( CDateFromIso("0001-01-01") ) <> "00010101" ) Then + doUnitTest = 0 + ElseIf ( CDateToIso( CDateFromIso("00010101") ) <> "00010101" ) Then + doUnitTest = 0 + ElseIf ( CDateToIso( CDateFromIso("-0001-12-31") ) <> "-00011231" ) Then + doUnitTest = 0 + ElseIf ( CDateToIso( CDateFromIso("-00011231") ) <> "-00011231" ) Then + doUnitTest = 0 Else doUnitTest = 1 End If |