# NOT RUN {
clearLog() # Clear the svUnit log
# Two correct tests
(checkTrue(1 < 2))
(checkException(log("a")))
errorLog() # Nothing, because there is no error
# }
# NOT RUN {
(checkTrue(1 > 2)) # This test fails
lastTest() # Print results of last test
errorLog() # Stop and summarize the tests run so far
# }
# NOT RUN {
clearLog()
# }
Run the code above in your browser using DataLab