mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9.2 KiB
9.2 KiB
Functional
Has the requirement for the allowed packages been respected? (Reminder for this project: only standard packages)
Try passing as arguments "banana standard abc"
Usage: go run . [STRING] [BANNER]
EX: go run . something standard
Does it display the same result as above?
Try passing as arguments "hello" standard | cat -e
_ _ _ $
| | | | | | $
| |__ ___ | | | | ___ $
| _ \ / _ \ | | | | / _ \ $
| | | | | __/ | | | | | (_) | $
|_| |_| \___| |_| |_| \___/ $
$
$
Does it display the string in the right template as an ASCII art representation as shown above?
Try passing as arguments "hello world" shadow | cat -e
$
_| _| _| _| _| $
_|_|_| _|_| _| _| _|_| _| _| _| _|_| _| _|_| _| _|_|_| $
_| _| _|_|_|_| _| _| _| _| _| _| _| _| _| _|_| _| _| _| $
_| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| $
_| _| _|_|_| _| _| _|_| _| _| _|_| _| _| _|_|_| $
$
$
Does it display the string in the right template as an ASCII art representation as shown above?
Try passing as arguments "nice 2 meet you" thinkertoy | cat -e
$
-- o $
o o o | $
o-o o-o o-o / o-O-o o-o o-o -o- o o o-o o o $
| | | | |-' / | | | |-' |-' | | | | | | | $
o o | o-o o-o o--o o o o o-o o-o o o--O o-o o--o $
| $
o--o $
Does it display the string in the right template as an ASCII art representation as shown above?
Try passing as arguments "you & me" standard | cat -e
$
___ $
_ _ ___ _ _ ( _ ) _ __ ___ ___ $
| | | | / _ \ | | | | / _ \/\ | '_ ` _ \ / _ \ $
| |_| | | (_) | | |_| | | (_> < | | | | | | | __/ $
\__, | \___/ \__,_| \___/\/ |_| |_| |_| \___| $
__/ / $
|___/ $
Does it display the string in the right template as an ASCII art representation as shown above?
Try passing as arguments "123" shadow | cat -e
$
_| _|_| _|_|_| $
_|_| _| _| _| $
_| _| _|_| $
_| _| _| $
_| _|_|_|_| _|_|_| $
$
$
Does it display the string in the right template as an ASCII art representation as shown above?
Try passing as arguments "/(\")" thinkertoy | cat -e
o o $
o / | | \ $
/ o o $
o | | $
/ o o $
o \ / $
$
$
Does it display the string in the right template as an ASCII art representation as shown above?
Try passing as arguments "ABCDEFGHIJKLMNOPQRSTUVWXYZ" shadow | cat -e
$
_|_| _|_|_| _|_|_| _|_|_| _|_|_|_| _|_|_|_| _|_|_| _| _| _|_|_| _| _| _| _| _| _| _| _| _|_| _|_|_| _|_| _|_|_| _|_|_| _|_|_|_|_| _| _| _| _| _| _| _| _| _| _| _|_|_|_|_| $
_| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _|_| _|_| _|_| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| $
_|_|_|_| _|_|_| _| _| _| _|_|_| _|_|_| _| _|_| _|_|_|_| _| _| _|_| _| _| _| _| _| _| _| _| _| _|_|_| _| _|_| _|_|_| _|_| _| _| _| _| _| _| _| _| _| _| _| $
_| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _|_| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| $
_| _| _|_|_| _|_|_| _|_|_| _|_|_|_| _| _|_|_| _| _| _|_|_| _|_| _| _| _|_|_|_| _| _| _| _| _|_| _| _|_| _| _| _| _|_|_| _| _|_| _| _| _| _| _| _| _|_|_|_|_| $
$
$
Does it display the string in the right template as an ASCII art representation as shown above?
Try passing as arguments "\"#$%&/()*+,-./" thinkertoy | cat -e
o o | | $
| | | | -O-O- O o / \ o | o o $
-O-O- o | | o / o / o o \|/ | / $
| | -O-O- / /| o | | --O-- -o- o $
-O-O- | | o / o o-O- / o o /|\ | o-o / $
| | -O-O- O | o \ / o | o o O o $
| | | $
$
Does it display the string in the right template as an ASCII art representation as shown above?
Try passing as arguments "It's Working" thinkertoy | cat -e
o $
o-O-o o | o o o $
| | | | | / o $
| -o- o-o o o o o-o o-o OO o-o o--o $
| | \ \ / \ / | | | | \ | | | | | $
o-O-o o o-o o o o-o o o o | o o o--O $
| $
o--o $