unit-threaded ~master (2021-10-11T15:13:26Z)
Home
Dub
Repo
shouldBeNull
unit_threaded
assertions
Verify that the value is null.
void
shouldBeNull
(
T
)
(
const
scope
auto
ref
T
value
,
string
file
= __FILE__
,
size_t
line
= __LINE__
)
Throws
UnitTestException on failure
Examples
shouldBeNull
(
null
);
Meta
Source
See Implementation
unit_threaded
assertions
enums
isLikeAssociativeArray
functions
be
convertToString
isEqual
should
shouldApproxEqual
shouldBeBetween
shouldBeEmpty
shouldBeFalse
shouldBeGreaterThan
shouldBeIn
shouldBeNull
shouldBeSameJsonAs
shouldBeSameSetAs
shouldBeSmallerThan
shouldBeTrue
shouldEqual
shouldNotBeEmpty
shouldNotBeIn
shouldNotBeNull
shouldNotBeSameSetAs
shouldNotEqual
shouldNotThrow
shouldThrow
shouldThrowExactly
shouldThrowWithMessage
templates
IsField
Verify that the value is null.