(fraction uint32)
| 142 | } |
| 143 | |
| 144 | func newFractionMatcher(fraction uint32) *fractionMatcher { |
| 145 | return &fractionMatcher{fraction: int64(fraction)} |
| 146 | } |
| 147 | |
| 148 | // RandInt64n overwrites rand for control in tests. |
| 149 | var RandInt64n = rand.Int64N |
no outgoing calls