From 320ce9857c55a3bce060feffb2a750dc0c974f11 Mon Sep 17 00:00:00 2001 From: lee Date: Mon, 6 Apr 2020 22:50:13 +0100 Subject: [PATCH] correcting ascii-art formate --- .../ascii-art-web/ascii-art-web.audit.en.md | 80 +++++----- subjects/ascii-art/ascii-art-fs.audit.en.md | 143 +++++++++-------- .../ascii-art/ascii-art-output.audit.en.md | 151 +++++++++--------- 3 files changed, 184 insertions(+), 190 deletions(-) diff --git a/subjects/ascii-art-web/ascii-art-web.audit.en.md b/subjects/ascii-art-web/ascii-art-web.audit.en.md index 04e6b25b0..51776405f 100644 --- a/subjects/ascii-art-web/ascii-art-web.audit.en.md +++ b/subjects/ascii-art-web/ascii-art-web.audit.en.md @@ -11,22 +11,22 @@ In the first line `{123}` In the second line ` (World)!` ``` - __ __ - / / _ ____ _____ \ \ - | | / | |___ \ |___ / | | -/ / | | __) | |_ \ \ \ -\ \ | | / __/ ___) | / / - | | |_| |_____| |____/ | | - \_\ /_/ - - __ _ _ _ _ __ __ __ __ _ _ __ _ - / / | | | | | | | | \ \ / / \ \ / / | | | | \ \ | | - / / | |__| | ___ | | | | ___ \ \ | | \ \ /\ / / ___ _ __ | | __| | | | | | -< < | __ | / _ \ | | | | / _ \ > > | | \ \/ \/ / / _ \ | '__| | | / _` | | | | | - \ \ | | | | | __/ | | | | | (_) | / / | | \ /\ / | (_) | | | | | | (_| | | | |_| - \_\ |_| |_| \___| |_| |_| \___/ /_/ | | \/ \/ \___/ |_| |_| \__,_| | | (_) - \_\ /_/ - + __ __ + / / _ ____ _____ \ \ + | | / | |___ \ |___ / | | +/ / | | __) | |_ \ \ \ +\ \ | | / __/ ___) | / / + | | |_| |_____| |____/ | | + \_\ /_/ + + __ _ _ _ _ __ __ __ __ _ _ __ _ + / / | | | | | | | | \ \ / / \ \ / / | | | | \ \ | | + / / | |__| | ___ | | | | ___ \ \ | | \ \ /\ / / ___ _ __ | | __| | | | | | +< < | __ | / _ \ | | | | / _ \ > > | | \ \/ \/ / / _ \ | '__| | | / _` | | | | | + \ \ | | | | | __/ | | | | | (_) | / / | | \ /\ / | (_) | | | | | | (_| | | | |_| + \_\ |_| |_| \___| |_| |_| \___/ /_/ | | \/ \/ \___/ |_| |_| \__,_| | | (_) + \_\ /_/ + ``` ###### Does it display the right result as above? @@ -34,14 +34,14 @@ In the second line ` (World)!` ##### Try to input `"123??"` using the template/banner standard. ``` - ___ ___ - _ ____ _____ |__ \ |__ \ -/ | |___ \ |___ / ) | ) | -| | __) | |_ \ / / / / -| | / __/ ___) | |_| |_| -|_| |_____| |____/ (_) (_) - - + ___ ___ + _ ____ _____ |__ \ |__ \ +/ | |___ \ |___ / ) | ) | +| | __) | |_ \ / / / / +| | / __/ ___) | |_| |_| +|_| |_____| |____/ (_) (_) + + ``` ###### Does it display the right result as above? @@ -49,14 +49,14 @@ In the second line ` (World)!` ##### Try to input `"$% "="` using the template/banner shadow. ``` - _| _| - _| _|_| _| _| _| -_|_|_| _|_| _| _|_|_|_|_| -_|_| _| - _|_| _| _|_| _|_|_|_|_| -_|_|_| _| _|_| - _| - + _| _| + _| _|_| _| _| _| +_|_|_| _|_| _| _|_|_|_|_| +_|_| _| + _|_| _| _|_| _|_|_|_|_| +_|_|_| _| _|_| + _| + ``` ###### Does it display the right result as above? @@ -64,14 +64,14 @@ _|_|_| _| _|_| ##### Try to input `"123 T/fs#R"` using the template/banner thinkertoy. ``` - - 0 -- o-o o-O-o o o-o | | o--o - /| o o | | / | -O-O- | | -o | / oo | o -O- o-o | | O-Oo - | / | | / | \ -O-O- | \ -o-o-o o--o o-o o o o o-o | | o o - - + + 0 -- o-o o-O-o o o-o | | o--o + /| o o | | / | -O-O- | | +o | / oo | o -O- o-o | | O-Oo + | / | | / | \ -O-O- | \ +o-o-o o--o o-o o o o o-o | | o o + + ``` ###### Does it display the right result as above? diff --git a/subjects/ascii-art/ascii-art-fs.audit.en.md b/subjects/ascii-art/ascii-art-fs.audit.en.md index 66d8a16b1..0f634e90c 100644 --- a/subjects/ascii-art/ascii-art-fs.audit.en.md +++ b/subjects/ascii-art/ascii-art-fs.audit.en.md @@ -5,14 +5,14 @@ ##### Try passing as arguments `"hello" standard` ``` - _ _ _ -| | | | | | -| |__ ___ | | | | ___ -| _ \ / _ \ | | | | / _ \ -| | | | | __/ | | | | | (_) | -|_| |_| \___| |_| |_| \___/ - - + _ _ _ +| | | | | | +| |__ ___ | | | | ___ +| _ \ / _ \ | | | | / _ \ +| | | | | __/ | | | | | (_) | +|_| |_| \___| |_| |_| \___/ + + ``` ###### Does it display the string in the right template as an ASCII art representation as above? @@ -20,14 +20,14 @@ ##### Try passing as arguments `"hello world" shadow` ``` - -_| _| _| _| _| -_|_|_| _|_| _| _| _|_| _| _| _| _|_| _| _|_| _| _|_|_| -_| _| _|_|_|_| _| _| _| _| _| _| _| _| _| _|_| _| _| _| -_| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| -_| _| _|_|_| _| _| _|_| _| _| _|_| _| _| _|_|_| - - + +_| _| _| _| _| +_|_|_| _|_| _| _| _|_| _| _| _| _|_| _| _|_| _| _|_|_| +_| _| _|_|_|_| _| _| _| _| _| _| _| _| _| _|_| _| _| _| +_| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| +_| _| _|_|_| _| _| _|_| _| _| _|_| _| _| _|_|_| + + ``` ###### Does it display the string in the right template as an ASCII art representation as above? @@ -35,14 +35,14 @@ _| _| _|_|_| _| _| _|_| _| _| _|_| _| _| ##### Try passing as arguments `"nice 2 meet you" thinkertoy` ``` - - -- 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 + + -- 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 above? @@ -50,14 +50,14 @@ o o | o-o o-o o--o o o o o-o o-o o o--O o-o o--o ##### Try passing as arguments `"you & me" standard` ``` - - ___ - _ _ ___ _ _ ( _ ) _ __ ___ ___ -| | | | / _ \ | | | | / _ \/\ | '_ ` _ \ / _ \ -| |_| | | (_) | | |_| | | (_> < | | | | | | | __/ - \__, | \___/ \__,_| \___/\/ |_| |_| |_| \___| - __/ / -|___/ + + ___ + _ _ ___ _ _ ( _ ) _ __ ___ ___ +| | | | / _ \ | | | | / _ \/\ | '_ ` _ \ / _ \ +| |_| | | (_) | | |_| | | (_> < | | | | | | | __/ + \__, | \___/ \__,_| \___/\/ |_| |_| |_| \___| + __/ / +|___/ ``` ###### Does it display the string in the right template as an ASCII art representation as above? @@ -65,14 +65,14 @@ o o | o-o o-o o--o o o o o-o o-o o o--O o-o o--o ##### Try passing as arguments `"123" shadow` ``` - - _| _|_| _|_|_| -_|_| _| _| _| - _| _| _|_| - _| _| _| - _| _|_|_|_| _|_|_| - - + + _| _|_| _|_|_| +_|_| _| _| _| + _| _| _|_| + _| _| _| + _| _|_|_|_| _|_|_| + + ``` ###### Does it display the string in the right template as an ASCII art representation as above? @@ -80,14 +80,14 @@ _|_| _| _| _| ##### Try passing as arguments `/(\") thinkertoy` ``` - 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 above? @@ -95,13 +95,14 @@ o \ / ##### Try passing as arguments `ABCDEFGHIJKLMNOPQRSTUVWXYZ shadow` ``` - - _|_| _|_|_| _|_|_| _|_|_| _|_|_|_| _|_|_|_| _|_|_| _| _| _|_|_| _| _| _| _| _| _| _| _| _|_| _|_|_| _|_| _|_|_| _|_|_| _|_|_|_|_| _| _| _| _| _| _| _| _| _| _| _|_|_|_|_| -_| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _|_| _|_| _|_| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| -_|_|_|_| _|_|_| _| _| _| _|_|_| _|_|_| _| _|_| _|_|_|_| _| _| _|_| _| _| _| _| _| _| _| _| _| _|_|_| _| _|_| _|_|_| _|_| _| _| _| _| _| _| _| _| _| _| _| -_| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _|_| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| -_| _| _|_|_| _|_|_| _|_|_| _|_|_|_| _| _|_|_| _| _| _|_|_| _|_| _| _| _|_|_|_| _| _| _| _| _|_| _| _|_| _| _| _| _|_|_| _| _|_| _| _| _| _| _| _| _|_|_|_|_| - + + _|_| _|_|_| _|_|_| _|_|_| _|_|_|_| _|_|_|_| _|_|_| _| _| _|_|_| _| _| _| _| _| _| _| _| _|_| _|_|_| _|_| _|_|_| _|_|_| _|_|_|_|_| _| _| _| _| _| _| _| _| _| _| _|_|_|_|_| +_| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _|_| _|_| _|_| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| +_|_|_|_| _|_|_| _| _| _| _|_|_| _|_|_| _| _|_| _|_|_|_| _| _| _|_| _| _| _| _| _| _| _| _| _| _|_|_| _| _|_| _|_|_| _|_| _| _| _| _| _| _| _| _| _| _| _| +_| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _|_| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| +_| _| _|_|_| _|_|_| _|_|_| _|_|_|_| _| _|_|_| _| _| _|_|_| _|_| _| _| _|_|_|_| _| _| _| _| _|_| _| _|_| _| _| _| _|_|_| _| _|_| _| _| _| _| _| _| _|_|_|_|_| + + ``` @@ -110,14 +111,14 @@ _| _| _|_|_| _|_|_| _|_|_| _|_|_|_| _| _|_|_| _| _| _|_|_| ##### Try passing as arguments `\"#$%&/()*+,-./ thinkertoy` ``` -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 | 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 above? @@ -125,14 +126,14 @@ o o | | ##### Try passing as arguments `"It's Working" thinkertoy` ``` - 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 + 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 ``` ###### Does it display the string in the right template as an ASCII art representation as above? diff --git a/subjects/ascii-art/ascii-art-output.audit.en.md b/subjects/ascii-art/ascii-art-output.audit.en.md index 626725fa1..2c79c97b7 100644 --- a/subjects/ascii-art/ascii-art-output.audit.en.md +++ b/subjects/ascii-art/ascii-art-output.audit.en.md @@ -6,23 +6,22 @@ ``` student$ cat test00.txt - -_|_|_|_| _| _| -_| _| _|_| _|_|_| _|_|_|_| -_|_|_| _| _|_| _|_| _| -_| _| _| _|_| _| -_| _| _| _|_|_| _|_| - - - -_|_|_|_|_| _| - _| _|_| _|_|_| _|_|_|_| - _| _|_|_|_| _|_| _| - _| _| _|_| _| - _| _|_|_| _|_|_| _|_| - - - + +_|_|_|_| _| _| +_| _| _|_| _|_|_| _|_|_|_| +_|_|_| _| _|_| _|_| _| +_| _| _| _|_| _| +_| _| _| _|_|_| _|_| + + + +_|_|_|_|_| _| + _| _|_| _|_|_| _|_|_|_| + _| _|_|_|_| _|_| _| + _| _| _|_| _| + _| _|_|_| _|_|_| _|_| + + ``` ###### Does it save the right output in the right file? @@ -31,15 +30,14 @@ _|_|_|_|_| _| ``` student$ cat test01.txt - _ _ _ -| | | | | | -| |__ ___ | | | | ___ -| _ \ / _ \ | | | | / _ \ -| | | | | __/ | | | | | (_) | -|_| |_| \___| |_| |_| \___/ - - - + _ _ _ +| | | | | | +| |__ ___ | | | | ___ +| _ \ / _ \ | | | | / _ \ +| | | | | __/ | | | | | (_) | +|_| |_| \___| |_| |_| \___/ + + ``` ###### Does it save the right output in the right file? @@ -48,15 +46,14 @@ student$ cat test01.txt ``` student$ cat test02.txt - __ _ _ _ _ __ - _ ____ _____ \ \ _| || |_ | | (_) / / -/ | |___ \ |___ / ______ \ \ |_ __ _| / __) / / -| | __) | |_ \ |______| > > _| || |_ \__ \ / / -| | / __/ ___) | / / |_ __ _| ( / / / _ -|_| |_____| |____/ /_/ |_||_| |_| /_/ (_) - - - + __ _ _ _ _ __ + _ ____ _____ \ \ _| || |_ | | (_) / / +/ | |___ \ |___ / ______ \ \ |_ __ _| / __) / / +| | __) | |_ \ |______| > > _| || |_ \__ \ / / +| | / __/ ___) | / / |_ __ _| ( / / / _ +|_| |_____| |____/ /_/ |_||_| |_| /_/ (_) + + ``` ###### Does it save the right output in the right file? @@ -65,15 +62,14 @@ student$ cat test02.txt ``` student$ cat test03.txt - -_| _| _|_|_| _|_| _| _| _| _| _|_| _| _| _|_|_|_|_| -_| _| _| _| _| _| _|_|_|_|_| _|_|_| _|_| _| _| _| _| _| -_|_|_|_| _|_| _| _|_|_|_|_| _| _| _| _|_| _| _|_| _| _| _|_|_| _| - _| _| _| _| _|_|_|_|_| _|_| _| _|_| _| _| _| _| _| _| - _| _|_|_| _|_|_|_| _| _| _| _|_|_| _| _|_| _|_| _| _| _|_|_|_| - _| _| - _|_|_|_|_|_| - + +_| _| _|_|_| _|_| _| _| _| _| _|_| _| _| _|_|_|_|_| +_| _| _| _| _| _| _|_|_|_|_| _|_|_| _|_| _| _| _| _| _| +_|_|_|_| _|_| _| _|_|_|_|_| _| _| _| _|_| _| _|_| _| _| _|_|_| _| + _| _| _| _| _|_|_|_|_| _|_| _| _|_| _| _| _| _| _| _| + _| _|_|_| _|_|_|_| _| _| _| _|_|_| _| _|_| _|_| _| _| _|_|_|_| + _| _| + _|_|_|_|_|_| ``` ###### Does it save the right output in the right file? @@ -82,15 +78,14 @@ _|_|_|_| _|_| _| _|_|_|_|_| _| _| _| _|_| _ ``` student$ cat test04.txt - -_|_|_|_|_| _| - _| _|_|_| _|_| _| _|_| _|_| - _| _| _| _|_|_|_| _|_| _|_|_|_| - _| _| _| _| _| _| - _| _| _| _|_|_| _| _|_|_| - - - + +_|_|_|_|_| _| + _| _|_|_| _|_| _| _|_| _|_| + _| _| _| _|_|_|_| _|_| _|_|_|_| + _| _| _| _| _| _| + _| _| _| _|_|_| _| _|_|_| + + ``` ###### Does it save the right output in the right file? @@ -99,15 +94,14 @@ _|_|_|_|_| _| ``` student$ cat test05.txt - o o | | - 0 -- 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 o- - | | - - + o o | | + 0 -- 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 o- + | | + ``` ###### Does it save the right output in the right file? @@ -117,14 +111,14 @@ o-o-o o--o o-o o | | -O-O- O o- ``` student$ cat test06.txt - -- -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 save the right output in the right file? @@ -133,15 +127,14 @@ o--o o--O o-o o--o ``` student$ cat test07.txt - _______ _ _ _ _ _ _ -|__ __| | | (_) __ _ | | __ _ | | | | | | - | | ___ ___ | |_ _ _ __ / _` | | | ___ _ __ / _` | ___ _ _ | |_ _ __ _ _ | |_ | | - | | / _ \ / __| | __| | | | '_ \ | (_| | | | / _ \ | '_ \ | (_| | / _ \ | | | | | __| | '_ \ | | | | | __| | | - | | | __/ \__ \ \ |_ | | | | | | \__, | | | | (_) | | | | | \__, | | (_) | | |_| | \ |_ | |_) | | |_| | \ |_ |_| - |_| \___| |___/ \__| |_| |_| |_| __/ | |_| \___/ |_| |_| __/ | \___/ \__,_| \__| | .__/ \__,_| \__| (_) - |___/ |___/ | | - |_| - + _______ _ _ _ _ _ _ +|__ __| | | (_) __ _ | | __ _ | | | | | | + | | ___ ___ | |_ _ _ __ / _` | | | ___ _ __ / _` | ___ _ _ | |_ _ __ _ _ | |_ | | + | | / _ \ / __| | __| | | | '_ \ | (_| | | | / _ \ | '_ \ | (_| | / _ \ | | | | | __| | '_ \ | | | | | __| | | + | | | __/ \__ \ \ |_ | | | | | | \__, | | | | (_) | | | | | \__, | | (_) | | |_| | \ |_ | |_) | | |_| | \ |_ |_| + |_| \___| |___/ \__| |_| |_| |_| __/ | |_| \___/ |_| |_| __/ | \___/ \__,_| \__| | .__/ \__,_| \__| (_) + |___/ |___/ | | + |_| ``` ###### Does it save the right output in the right file?