Cowsay.jl/src/cows/blowfish.cow.jl
Thomas A. Christensen II 90e0fd88db
Add tests for blowfish cowfile
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2021-11-23 12:25:43 -06:00

68 lines
1.4 KiB
Julia

"""
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="\\")
the_cow =
"""
$thoughts
$thoughts
| .
. |L /|
_ . |\\ _| \\--+._/| .
/ ||\\| Y J ) / |/| ./
J |)'( | ` F`.'/
-<| F __ .-<
| / .-'. `. /-. L___
J \\ < \\ | | O\\|.-'
_J \\ .- \\/ O | | \\ |F
'-F -<_. \\ .-' `-' L__
__J _ _. >-' )._. |-'
`-|.' /_. \\_| F
/.- . _.<
/' /.' .' `\\
/L /' |/ _.-'-\\
/'J ___.---'\\|
|\\ .--' V | `. `
|/`. `-. `._)
/ .-.\\
VK \\ ( `\\
`.\\
"""
return the_cow
end