#define throws_ | ( | exception_t, | |
... | |||
) |
#include <xtd.tunit/include/xtd/tunit/assert.h>
Asserts that the statement throws a particular exception when called.
exception_t | The exception type that must be throw. |
statement | The statement that verify. |
message | An optional user message to display if the assertion fails. This message can be seen in the unit test results. |