Add tests for blowfish 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 12:25:43 -06:00
parent 9f6b2b0394
commit 90e0fd88db
Signed by: millironx
GPG key ID: 139C07724802BC5D
2 changed files with 39 additions and 3 deletions

View file

@ -4,4 +4,5 @@ Examples of all the cowfiles available.
```@docs ```@docs
Cowsay.default Cowsay.default
Cowsay.blowfish
``` ```

View file

@ -1,6 +1,41 @@
## """
## Blowfish function blowfish()
##
A blowfish.
```jldoctest
julia> cowsay("Bloop, bloop", cow=Cowsay.blowfish)
______________
< Bloop, bloop >
--------------
\\
\\
| .
. |L /|
_ . |\\ _| \\--+._/| .
/ ||\\| Y J ) / |/| ./
J |)'( | ` F`.'/
-<| F __ .-<
| / .-'. `. /-. L___
J \\ < \\ | | O\\|.-'
_J \\ .- \\/ O | | \\ |F
'-F -<_. \\ .-' `-' L__
__J _ _. >-' )._. |-'
`-|.' /_. \\_| F
/.- . _.<
/' /.' .' `\\
/L /' |/ _.-'-\\
/'J ___.---'\\|
|\\ .--' V | `. `
|/`. `-. `._)
/ .-.\\
VK \\ ( `\\
`.\\
```
"""
function blowfish(;eyes="oo", tongue=" ", thoughts="\\") function blowfish(;eyes="oo", tongue=" ", thoughts="\\")
the_cow = the_cow =
""" """