Add doctests for www cowfile

Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
Thomas A. Christensen II 2021-11-23 13:13:17 -06:00
parent 7bbea4c43b
commit d3016c574d
Signed by: millironx
GPG key ID: 139C07724802BC5D
2 changed files with 20 additions and 3 deletions

View file

@ -9,6 +9,7 @@ Cowsay.default
Cowsay.cower
Cowsay.udder
Cowsay.vader
Cowsay.www
```
## Mascots

View file

@ -1,6 +1,22 @@
##
## A cow wadvertising the World Wide Web, from lim@csua.berkeley.edu
##
"""
function www()
A cow wadvertising the World Wide Web, from lim@csua.berkeley.edu
# Example
```jldoctest
julia> cowsay("My favorite site is MooTube", cow=Cowsay.www)
_____________________________
< My favorite site is MooTube >
-----------------------------
\\ ^__^
\\ (oo)\\_______
(__)\\ )\\/\\
||--WWW |
|| ||
```
"""
function www(;eyes="oo", tongue=" ", thoughts="\\")
the_cow =
"""