source:
trunk/TestCase/SimpleTestCase/SimpleTestCase.ab@
353
| Last change on this file since 353 was 236, checked in by , 19 years ago | |
|---|---|
| File size: 339 bytes | |
| Line | |
|---|---|
| 1 | ' SimpleTestCase.ab |
| 2 | |
| 3 | #console |
| 4 | #include "SimpleTestCase.idx" |
| 5 | |
| 6 | Function UnitTest( msg As String, isSuccessful As Boolean ) |
| 7 | Dim resultStr As String |
| 8 | If isSuccessful Then |
| 9 | resultStr = Ex"OK\t" |
| 10 | Else |
| 11 | resultStr = Ex"FAILURE!" |
| 12 | End If |
| 13 | |
| 14 | Print resultStr, msg |
| 15 | End Function |
| 16 | |
| 17 | Print "Please enter any key" |
| 18 | Dim a As Long |
| 19 | Input a |
Note:
See TracBrowser
for help on using the repository browser.
