Add StdUnittest to stdx.checkedint

This commit is contained in:
Sebastian Wilzbach 2017-12-15 15:50:07 +01:00
parent c136ec575b
commit d1d6a80e64

View file

@ -2618,7 +2618,7 @@ if (isIntegral!T && T.sizeof >= 4)
testPow!ulong(3, 41);
}
version(unittest) private struct CountOverflows
version(StdUnittest) private struct CountOverflows
{
uint calls;
auto onOverflow(string op, Lhs)(Lhs lhs)
@ -2643,7 +2643,7 @@ version(unittest) private struct CountOverflows
}
}
version(unittest) private struct CountOpBinary
version(StdUnittest) private struct CountOpBinary
{
uint calls;
auto hookOpBinary(string op, Lhs, Rhs)(Lhs lhs, Rhs rhs)