Update draw_test
Vladimir Bauer
9 years ago
| 10 | 10 | barWidth int |
| 11 | 11 | total int64 |
| 12 | 12 | current int64 |
| 13 | barRefill *Refill | |
| 13 | barRefill *refill | |
| 14 | 14 | want []byte |
| 15 | 15 | }{ |
| 16 | 16 | { |
| 65 | 65 | barWidth: 100, |
| 66 | 66 | total: 100, |
| 67 | 67 | current: 40, |
| 68 | barRefill: &Refill{'+', 32}, | |
| 68 | barRefill: &refill{'+', 32}, | |
| 69 | 69 | want: []byte("[+++++++++++++++++++++++++++++++=======>-----------------------------------------------------------]"), |
| 70 | 70 | }, |
| 71 | 71 | { |