()
| 143 | } |
| 144 | |
| 145 | func Example_xOutOfY() { |
| 146 | bar := NewOptions(100, OptionSetPredictTime(true)) |
| 147 | |
| 148 | for i := 0; i < 100; i++ { |
| 149 | bar.Add(1) |
| 150 | time.Sleep(1 * time.Millisecond) |
| 151 | } |
| 152 | } |
| 153 | |
| 154 | func ExampleOptionShowIts_count() { |
| 155 | bar := NewOptions(100, OptionSetWidth(10), OptionShowIts(), OptionShowCount()) |
nothing calls this directly
no test coverage detected
searching dependent graphs…