:unittest.bannerRotate

Test cases for the :bannerRotate function

Description: call:unittest.bannerRotate
Dependencies: :bannerRotate
Script:
1.
2.
3.
4.
5.
6.
7.
8.
9.
:unittest.bannerRotate
:$created 20080321 :$changed 20080321
:$source https://www.dostips.com
set "text= hi there! "
for /l %%C in (1,1,12) do (
    call:bannerRotate text
    call echo.'%%text%%'
)
EXIT /b
Script Output:
 DOS Script Output
---- :unittest.bannerRotate - output
'hi-there!--'
'i-there!--h'
'-there!--hi'
'there!--hi-'
'here!--hi-t'
'ere!--hi-th'
're!--hi-the'
'e!--hi-ther'
'!--hi-there'
'--hi-there!'
'-hi-there!-'
'hi-there!--'
----