Define testThrows¶
Defined in File pvUnitTest.h
Define Documentation¶
-
testThrows(EXC, CODE)¶
Test that a given block throws an exception
testThrows(std::runtime_error, somefunc(5))
Defined in File pvUnitTest.h
Test that a given block throws an exception
testThrows(std::runtime_error, somefunc(5))