Add doctests for vader cowfile
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
parent
fb0ca28e3a
commit
7bbea4c43b
2 changed files with 23 additions and 3 deletions
|
@ -8,6 +8,7 @@ Examples of all the cowfiles available.
|
|||
Cowsay.default
|
||||
Cowsay.cower
|
||||
Cowsay.udder
|
||||
Cowsay.vader
|
||||
```
|
||||
|
||||
## Mascots
|
||||
|
|
|
@ -1,6 +1,25 @@
|
|||
##
|
||||
## Cowth Vader, from geordan@csua.berkeley.edu
|
||||
##
|
||||
"""
|
||||
function vader()
|
||||
|
||||
Cowth Vader, from geordan@csua.berkeley.edu
|
||||
|
||||
# Example
|
||||
|
||||
```jldoctest
|
||||
julia> cowsay("Luke, I am your father!", cow=Cowsay.vader)
|
||||
_________________________
|
||||
< Luke, I am your father! >
|
||||
-------------------------
|
||||
\\ ,-^-.
|
||||
\\ !oYo!
|
||||
\\ /./=\\.\\______
|
||||
## )\\/\\
|
||||
||-----w||
|
||||
|| ||
|
||||
|
||||
Cowth Vader
|
||||
```
|
||||
"""
|
||||
function vader(;eyes="oo", tongue=" ", thoughts="\\")
|
||||
the_cow =
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue