-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from tleonhardt/unit_test
Unit test improvements
- Loading branch information
Showing
3 changed files
with
193 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
(Cmd) help | ||
|
||
Documented commands (type help <topic>): | ||
======================================== | ||
_load ed history list pause run set show | ||
_relative_load edit l load py save shell speak | ||
cmdenvironment hi li orate r say shortcuts | ||
|
||
Undocumented commands: | ||
====================== | ||
EOF eof exit help q quit | ||
|
||
(Cmd) help say | ||
Repeats what you tell me to. | ||
Usage: speak [options] (text to say) | ||
|
||
Options: | ||
-h, --help show this help message and exit | ||
-p, --piglatin atinLay | ||
-s, --shout N00B EMULATION MODE | ||
-r REPEAT, --repeat=REPEAT | ||
output [n] times | ||
|
||
(Cmd) say goodnight, Gracie | ||
goodnight, Gracie | ||
(Cmd) say -ps --repeat=5 goodnight, Gracie | ||
OODNIGHT, GRACIEGAY | ||
OODNIGHT, GRACIEGAY | ||
OODNIGHT, GRACIEGAY | ||
(Cmd) set maxrepeats 5 | ||
maxrepeats - was: 3 | ||
now: 5 | ||
(Cmd) say -ps --repeat=5 goodnight, Gracie | ||
OODNIGHT, GRACIEGAY | ||
OODNIGHT, GRACIEGAY | ||
OODNIGHT, GRACIEGAY | ||
OODNIGHT, GRACIEGAY | ||
OODNIGHT, GRACIEGAY | ||
(Cmd) hi | ||
-------------------------[1] | ||
help | ||
-------------------------[2] | ||
help say | ||
-------------------------[3] | ||
say goodnight, Gracie | ||
-------------------------[4] | ||
say -ps --repeat=5 goodnight, Gracie | ||
-------------------------[5] | ||
set maxrepeats 5 | ||
-------------------------[6] | ||
say -ps --repeat=5 goodnight, Gracie | ||
(Cmd) run 4 | ||
say -ps --repeat=5 goodnight, Gracie | ||
|
||
OODNIGHT, GRACIEGAY | ||
OODNIGHT, GRACIEGAY | ||
OODNIGHT, GRACIEGAY | ||
OODNIGHT, GRACIEGAY | ||
OODNIGHT, GRACIEGAY | ||
(Cmd) set prompt "---> " | ||
prompt - was: (Cmd) | ||
now: ---> |