This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Description
The documentation says:
If AnyTimes or MaxTimes have not been called, MinTimes sets the maximum number of calls to infinity.
But if MaxTimes is called with argument 1 the MinTimes code considers this as MaxTimes has not been called yet.
See
|
if c.maxCalls == 1 { |
|
c.maxCalls = 1e8 |
|
} |
and
|
if c.minCalls == 1 { |
|
c.minCalls = 0 |
|
} |
This is confusing and should either be fixed in the documentation or by adding a flag to check whether Min/Max-Times was called.