Add doctests for www cowfile
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
parent
7bbea4c43b
commit
d3016c574d
2 changed files with 20 additions and 3 deletions
|
@ -9,6 +9,7 @@ Cowsay.default
|
|||
Cowsay.cower
|
||||
Cowsay.udder
|
||||
Cowsay.vader
|
||||
Cowsay.www
|
||||
```
|
||||
|
||||
## Mascots
|
||||
|
|
|
@ -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 =
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue