unit-threaded v0.6.17 (2016-05-26T11:30:50Z)
Home
Dub
Repo
shouldBeNull
unit_threaded
should
Verify that the value is null.
@
safe
void
shouldBeNull
(
T
)
(
in
T
value
,
in
string
file
= __FILE__
,
in
size_t
line
= __LINE__
)
Throws
UnitTestException on failure
Examples
shouldBeNull
(
null
) ;
Meta
Source
See Implementation
unit_threaded
should
classes
UnitTestException
functions
fail
shouldBeEmpty
shouldBeFalse
shouldBeGreaterThan
shouldBeIn
shouldBeNull
shouldBeSameSetAs
shouldBeSmallerThan
shouldBeTrue
shouldEqual
shouldNotBeEmpty
shouldNotBeIn
shouldNotBeNull
shouldNotBeSameSetAs
shouldNotEqual
shouldNotThrow
shouldThrow
shouldThrowExactly
shouldThrowWithMessage
Verify that the value is null.