semitwistdtools ~master (2015-08-17T23:08:05Z)
Home
Dub
Repo
assertPred
semitwist
util
unittests
Undocumented in source. Be warned that the author may not have intended to support it.
void
assertPred
(L lhs, R rhs, string msg, string file, size_t line)
void
assertPred
(L lhs, R rhs, string msg, string file, size_t line)
void
assertPred
(L lhs, R rhs, string msg, string file, size_t line)
void
assertPred
(L lhs, R rhs, E expected, string msg, string file, size_t line)
void
assertPred
(L lhs, R rhs, E expected, string msg, string file, size_t line)
void
assertPred
(T a)
void
assertPred
(
string
pred
string
msg
= null
string
file
= __FILE__
size_t
line
= __LINE__
T
)
(
T
a
)
if
(
__traits(
compiles
,
unaryFun
!
pred
(
a
)) &&
is
(
typeof
(
unaryFun
!
pred
(
a
)) :
bool
)
&&
isPrintable
!
T
)
void
assertPred
(T a, U b)
void
assertPred
(T args)
Meta
Source
See Implementation
semitwist
util
unittests
aliases
unittestSection_demangle
unittestSection_mangledName
unittestSemiTwistDLib
functions
_deferAssert
_deferAssertException
_deferEnsure
_deferEnsureException
_deferEnsureThrows
assertPred
flushAsserts
getAssertCount
resetAssertCount
unittestSection
writeUnittestSection
templates
deferAssert
deferEnsure
deferEnsureThrows
variables
autoThrow