Codebase list golang-github-vbauerster-mpb / 9ace46b
extra draw tests Vladimir Bauer 4 years ago
1 changed file(s) with 57 addition(s) and 15 deletion(s). Raw diff Collapse all Expand all
12621262 want: " の=>-------------------------------------------------------------------------------------------の ",
12631263 },
12641264 {
1265 style: BarStyle().Lbound("[").Filler("の").Tip("だ").Padding("つ").Rbound("]"),
1265 style: BarStyle().Tip("だ"),
12661266 name: `t,c{100,1}Tip("だ")`,
1267 total: 100,
1268 current: 1,
1269 want: " [だ---------------------------------------------------------------------------------------------] ",
1270 },
1271 {
1272 style: BarStyle().Tip("だ"),
1273 name: `t,c{100,2}Tip("だ")`,
1274 total: 100,
1275 current: 2,
1276 want: " [だ---------------------------------------------------------------------------------------------] ",
1277 },
1278 {
1279 style: BarStyle().Tip("だ"),
1280 name: `t,c{100,3}Tip("だ")`,
1281 total: 100,
1282 current: 3,
1283 want: " [=だ--------------------------------------------------------------------------------------------] ",
1284 },
1285 {
1286 style: BarStyle().Tip("だ"),
1287 name: `t,c{100,99}Tip("だ")`,
1288 total: 100,
1289 current: 99,
1290 want: " [============================================================================================だ-] ",
1291 },
1292 {
1293 style: BarStyle().Tip("だ"),
1294 name: `t,c{100,100}Tip("だ")`,
1295 total: 100,
1296 current: 100,
1297 want: " [===============================================================================================] ",
1298 },
1299 {
1300 style: BarStyle().TipOnComplete("だ"),
1301 name: `t,c{100,100}TipOnComplete("だ")`,
1302 total: 100,
1303 current: 100,
1304 want: " [=============================================================================================だ] ",
1305 },
1306 {
1307 style: BarStyle().Filler("の").Tip("だ").Padding("つ"),
1308 name: `t,c{100,1}Filler("の").Tip("だ").Padding("つ")`,
12671309 total: 100,
12681310 current: 1,
12691311 want: " [だつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつ…] ",
12701312 },
12711313 {
1272 style: BarStyle().Lbound("[").Filler("の").Tip("だ").Padding("つ").Rbound("]"),
1273 name: `t,c{100,2}Tip("だ")`,
1314 style: BarStyle().Filler("の").Tip("だ").Padding("つ"),
1315 name: `t,c{100,2}Filler("の").Tip("だ").Padding("つ")`,
12741316 total: 100,
12751317 current: 2,
12761318 want: " [だつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつつ…] ",
12771319 },
12781320 {
1279 style: BarStyle().Lbound("[").Filler("の").Tip("だ").Padding("つ").Rbound("]"),
1280 name: `t,c{100,99}Tip("だ")`,
1321 style: BarStyle().Filler("の").Tip("だ").Padding("つ"),
1322 name: `t,c{100,99}Filler("の").Tip("だ").Padding("つ")`,
12811323 total: 100,
12821324 current: 99,
12831325 want: " [ののののののののののののののののののののののののののののののののののののののののののののののだ…] ",
12841326 },
12851327 {
1286 style: BarStyle().Lbound("[").Filler("の").Tip("だ").Padding("つ").Rbound("]"),
1287 name: `t,c{100,100}Tip("だ")`,
1328 style: BarStyle().Filler("の").Tip("だ").Padding("つ"),
1329 name: `t,c{100,100}.Filler("の").Tip("だ").Padding("つ")`,
12881330 total: 100,
12891331 current: 100,
12901332 want: " […ののののののののののののののののののののののののののののののののののののののののののののののの] ",
12911333 },
12921334 {
1293 style: BarStyle().Lbound("[").Filler("の").Tip("だ").Padding("つ").Rbound("]").Reverse(),
1294 name: `t,c{100,100}Tip("だ")rev`,
1335 style: BarStyle().Filler("の").Tip("だ").Padding("つ").Reverse(),
1336 name: `t,c{100,100}Filler("の").Tip("だ").Padding("つ").Reverse()`,
12951337 total: 100,
12961338 current: 100,
12971339 want: " [ののののののののののののののののののののののののののののののののののののののののののののののの…] ",
12981340 },
12991341 {
1300 style: BarStyle().Lbound("[").Filler("の").Tip("だ").TipOnComplete("だ").Padding("つ").Rbound("]"),
1301 name: `t,c{100,99}Tip("だ").TipOnComplete("だ")`,
1342 style: BarStyle().Filler("の").Tip("だ").TipOnComplete("だ").Padding("つ"),
1343 name: `t,c{100,99}Filler("の").Tip("だ").TipOnComplete("だ").Padding("つ")`,
13021344 total: 100,
13031345 current: 99,
13041346 want: " [ののののののののののののののののののののののののののののののののののののののののののののののだ…] ",
13051347 },
13061348 {
1307 style: BarStyle().Lbound("[").Filler("の").Tip("だ").TipOnComplete("だ").Padding("つ").Rbound("]"),
1308 name: `t,c{100,100}Tip("だ").TipOnComplete("だ")`,
1349 style: BarStyle().Filler("の").Tip("だ").TipOnComplete("だ").Padding("つ"),
1350 name: `t,c{100,100}.Filler("の").Tip("だ").TipOnComplete("だ").Padding("つ")`,
13091351 total: 100,
13101352 current: 100,
13111353 want: " […ののののののののののののののののののののののののののののののののののののののののののののののだ] ",
13121354 },
13131355 {
1314 style: BarStyle().Lbound("[").Filler("の").Tip("だ").TipOnComplete("だ").Padding("つ").Rbound("]").Reverse(),
1315 name: `t,c{100,100}Tip("だ").TipOnComplete("だ")rev`,
1356 style: BarStyle().Filler("の").Tip("だ").TipOnComplete("だ").Padding("つ").Reverse(),
1357 name: `t,c{100,100}.Filler("の").Tip("だ").TipOnComplete("だ").Padding("つ").Reverse()`,
13161358 total: 100,
13171359 current: 100,
13181360 want: " [だのののののののののののののののののののののののののののののののののののののののののののののの…] ",