Add cower cowfile tests

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 12:46:22 -06:00
parent 120e370a3b
commit 2578872831
Signed by: millironx
GPG key ID: 139C07724802BC5D
2 changed files with 25 additions and 0 deletions

View file

@ -6,6 +6,7 @@ Examples of all the cowfiles available.
```@docs
Cowsay.default
Cowsay.cower
```
## Mascots

View file

@ -1,6 +1,30 @@
##
## A cowering cow
##
"""
function cower()
A cowering cow
# Example
```jldoctest
julia> cowsay("Is it safe to come out yet?", cow=Cowsay.cower)
_____________________________
< Is it safe to come out yet? >
-----------------------------
\\
\\
,__, | |
(oo)\\| |___
(__)\\| | )\\_
| |_w | \\
| | || *
Cower....
```
"""
function cower(;eyes="oo", tongue=" ", thoughts="\\")
the_cow =
"""