mirror of
https://github.com/dlang/phobos.git
synced 2025-05-04 09:00:22 +03:00
Add StdUnittest to stdx.checkedint
This commit is contained in:
parent
c136ec575b
commit
d1d6a80e64
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue