Unit Test Package for Term::ProgressBar
This package tests the name functionality of Term::ProgressBar.
Tests 2--10: Count 1-10
Create a progress bar with 10 things, and a name 'Algenon'. Update it it from 1 to 10.
(1) Check no exception thrown on creation (2) Check no exception thrown on update (1..3) (3) Check bar number is 30% (4) Check bar is 30% along (5) Check no exception thrown on message send (6) Check no exception thrown on update (6..10) (7) Check message seen (8) Check bar is complete (9) Check bar number is 100%
Tests 11--20: Count 1-20
Create a progress bar with 20 things, and a name 'Smegma'. Update it it from 1 to 20. Use v1 mode
(1) Check no exception thrown on creation (2) Check no exception thrown on update (1..12) (3) Check bar number is 60% (4) Check bar is 60% along (5) Check no exception thrown on message send (6) Check no exception thrown on update (13..20) (7) Check message seen (8) Check bar is complete (9) Check bar number is 100%