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
(T a, U b)
void
assertPred
(T args)
void
assertPred
(
alias
pred
string
msg
= null
string
file
= __FILE__
size_t
line
= __LINE__
T
...
)
(
T
args
)
if
(
isCallable
!
pred
&&
is
(
ReturnType
!
pred
==
bool
)
&&
__traits(
compiles
,
pred
(
args
))
&&
isPrintable
!
T
)
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