eris ~master (2018-03-29T23:16:26Z)
Home
Dub
Repo
assertThrows
eris
decimal
test
Returns true if the expression throws.
bool
assertThrows
(
T
:
Throwable
=
Exception
E
)
(
lazy
E
expression
,
string
msg
=
T.stringof
,
string
file
= __FILE__
,
int
line
= __LINE__
)
Meta
Source
See Implementation
eris
decimal
test
functions
assertEqual
assertFalse
assertGreaterThan
assertLessThan
assertNegative
assertNotEqual
assertNotGreaterThan
assertNotLessThan
assertPositive
assertStringEqual
assertStringNotEqual
assertThrows
assertTrue
assertZero
static variables
initialized
totalFail
totalPass
totalTests
structs
FunctionTest
Returns true if the expression throws.