mir-algorithm — Libmir Archive
← Libmir Archive
Dlang.org
should
mir
test
Should
!
T
should
(T value)
Should
!
T
should
(
T
)
(
T
value
)
void
should
(T value, R expected, string file, int line)
Examples
1.0
.
should
==
1
;
should
(
1
) ==
1
;
ubyte
[]
val
= [
0
,
2
,
3
];
val
.
should
== [
0
,
2
,
3
];
mir
test
functions
should
shouldApprox
structs
Should
ShouldApprox