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.
198 lines
7.9 KiB
198 lines
7.9 KiB
5 years ago
|
#### Functional
|
||
5 years ago
|
|
||
3 years ago
|
###### Has the requirement for the allowed packages been respected? (Reminder for this project: only [standard packages](https://golang.org/pkg/))
|
||
5 years ago
|
|
||
2 years ago
|
> For consistency, use bash for the following tests.
|
||
2 years ago
|
|
||
2 years ago
|
##### Try passing as arguments `"--output test00.txt banana standard "`
|
||
5 years ago
|
|
||
5 years ago
|
```
|
||
2 years ago
|
Usage: go run . [OPTION] [STRING] [BANNER]
|
||
5 years ago
|
|
||
2 years ago
|
Example: go run . --output=<fileName.txt> something standard
|
||
3 years ago
|
```
|
||
5 years ago
|
|
||
3 years ago
|
###### Does it display the same result as above?
|
||
5 years ago
|
|
||
2 years ago
|
##### Try passing as arguments `--output=test00.txt "First\nTest" shadow`
|
||
5 years ago
|
|
||
3 years ago
|
```
|
||
|
student$ cat test00.txt
|
||
|
$
|
||
|
_|_|_|_| _| _| $
|
||
|
_| _| _|_| _|_|_| _|_|_|_| $
|
||
|
_|_|_| _| _|_| _|_| _| $
|
||
|
_| _| _| _|_| _| $
|
||
|
_| _| _| _|_|_| _|_| $
|
||
|
$
|
||
|
$
|
||
|
$
|
||
|
_|_|_|_|_| _| $
|
||
|
_| _|_| _|_|_| _|_|_|_| $
|
||
|
_| _|_|_|_| _|_| _| $
|
||
|
_| _| _|_| _| $
|
||
|
_| _|_|_| _|_|_| _|_| $
|
||
|
$
|
||
|
$
|
||
|
$
|
||
5 years ago
|
```
|
||
5 years ago
|
|
||
5 years ago
|
###### Does it save the right output in the right file?
|
||
5 years ago
|
|
||
2 years ago
|
##### Try passing as arguments `--output=test01.txt "hello" standard`
|
||
5 years ago
|
|
||
5 years ago
|
```
|
||
|
student$ cat test01.txt
|
||
3 years ago
|
_ _ _ $
|
||
|
| | | | | | $
|
||
|
| |__ ___ | | | | ___ $
|
||
|
| _ \ / _ \ | | | | / _ \ $
|
||
|
| | | | | __/ | | | | | (_) | $
|
||
|
|_| |_| \___| |_| |_| \___/ $
|
||
|
$
|
||
|
$
|
||
|
$
|
||
5 years ago
|
```
|
||
5 years ago
|
|
||
5 years ago
|
###### Does it save the right output in the right file?
|
||
5 years ago
|
|
||
2 years ago
|
##### Try passing as arguments `--output=test02.txt "123 -> #$%" standard`
|
||
5 years ago
|
|
||
5 years ago
|
```
|
||
|
student$ cat test02.txt
|
||
3 years ago
|
__ _ _ _ _ __ $
|
||
|
_ ____ _____ \ \ _| || |_ | | (_) / / $
|
||
|
/ | |___ \ |___ / ______ \ \ |_ __ _| / __) / / $
|
||
|
| | __) | |_ \ |______| > > _| || |_ \__ \ / / $
|
||
|
| | / __/ ___) | / / |_ __ _| ( / / / _ $
|
||
|
|_| |_____| |____/ /_/ |_||_| |_| /_/ (_) $
|
||
|
$
|
||
|
$
|
||
|
$
|
||
5 years ago
|
```
|
||
5 years ago
|
|
||
5 years ago
|
###### Does it save the right output in the right file?
|
||
5 years ago
|
|
||
2 years ago
|
##### Try passing as arguments `--output=test03.txt "432 -> #$%&@" shadow`
|
||
5 years ago
|
|
||
5 years ago
|
```
|
||
|
student$ cat test03.txt
|
||
3 years ago
|
$
|
||
|
_| _| _|_|_| _|_| _| _| _| _| _|_| _| _| _|_|_|_|_| $
|
||
|
_| _| _| _| _| _| _|_|_|_|_| _|_|_| _|_| _| _| _| _| _| $
|
||
|
_|_|_|_| _|_| _| _|_|_|_|_| _| _| _| _|_| _| _|_| _| _| _|_|_| _| $
|
||
|
_| _| _| _| _|_|_|_|_| _|_| _| _|_| _| _| _| _| _| _| $
|
||
|
_| _|_|_| _|_|_|_| _| _| _| _|_|_| _| _|_| _|_| _| _| _|_|_|_| $
|
||
|
_| _| $
|
||
|
_|_|_|_|_|_| $
|
||
|
$
|
||
5 years ago
|
```
|
||
5 years ago
|
|
||
5 years ago
|
###### Does it save the right output in the right file?
|
||
5 years ago
|
|
||
2 years ago
|
##### Try passing as arguments `--output=test04.txt "There" shadow`
|
||
5 years ago
|
|
||
5 years ago
|
```
|
||
|
student$ cat test04.txt
|
||
3 years ago
|
$
|
||
|
_|_|_|_|_| _| $
|
||
|
_| _|_|_| _|_| _| _|_| _|_| $
|
||
|
_| _| _| _|_|_|_| _|_| _|_|_|_| $
|
||
|
_| _| _| _| _| _| $
|
||
|
_| _| _| _|_|_| _| _|_|_| $
|
||
|
$
|
||
|
$
|
||
|
$
|
||
5 years ago
|
```
|
||
5 years ago
|
|
||
5 years ago
|
###### Does it save the right output in the right file?
|
||
5 years ago
|
|
||
2 years ago
|
##### Try passing as arguments `--output=test05.txt "123 -> \"#$%@" thinkertoy`
|
||
5 years ago
|
|
||
5 years ago
|
```
|
||
|
student$ cat test05.txt
|
||
3 years ago
|
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- $
|
||
|
| | $
|
||
|
$
|
||
|
$
|
||
5 years ago
|
```
|
||
5 years ago
|
|
||
5 years ago
|
###### Does it save the right output in the right file?
|
||
5 years ago
|
|
||
2 years ago
|
##### Try passing as arguments `--output=test06.txt "2 you" thinkertoy`
|
||
5 years ago
|
|
||
5 years ago
|
```
|
||
|
student$ cat test06.txt
|
||
3 years ago
|
$
|
||
|
-- $
|
||
|
o o $
|
||
|
/ o o o-o o o $
|
||
|
/ | | | | | | $
|
||
|
o--o o--O o-o o--o $
|
||
|
| $
|
||
|
o--o $
|
||
|
$
|
||
5 years ago
|
```
|
||
5 years ago
|
|
||
5 years ago
|
###### Does it save the right output in the right file?
|
||
5 years ago
|
|
||
2 years ago
|
##### Try passing as arguments `--output=test07.txt 'Testing long output!' standard`
|
||
5 years ago
|
|
||
5 years ago
|
```
|
||
|
student$ cat test07.txt
|
||
3 years ago
|
_______ _ _ _ _ _ _ $
|
||
3 years ago
|
|__ __| | | (_) | | | | | | | | $
|
||
|
| | ___ ___ | |_ _ _ __ __ _ | | ___ _ __ __ _ ___ _ _ | |_ _ __ _ _ | |_ | | $
|
||
|
| | / _ \ / __| | __| | | | '_ \ / _` | | | / _ \ | '_ \ / _` | / _ \ | | | | | __| | '_ \ | | | | | __| | | $
|
||
|
| | | __/ \__ \ \ |_ | | | | | | | (_| | | | | (_) | | | | | | (_| | | (_) | | |_| | \ |_ | |_) | | |_| | \ |_ |_| $
|
||
|
|_| \___| |___/ \__| |_| |_| |_| \__, | |_| \___/ |_| |_| \__, | \___/ \__,_| \__| | .__/ \__,_| \__| (_) $
|
||
|
__/ | __/ | | | $
|
||
|
|___/ |___/ |_| $
|
||
3 years ago
|
$
|
||
5 years ago
|
```
|
||
5 years ago
|
|
||
5 years ago
|
###### Does it save the right output in the right file?
|
||
5 years ago
|
|
||
5 years ago
|
##### Try passing as arguments a random string with lower and upper case letters, and the output flag ("--output=") followed by a random file name.
|
||
5 years ago
|
|
||
5 years ago
|
###### Does it save the right output in the right file?
|
||
|
|
||
|
##### Try passing as arguments a random string with lower case letters, numbers and spaces, and the output flag ("--output=") followed by a random file name.
|
||
5 years ago
|
|
||
5 years ago
|
###### Does it save the right output in the right file?
|
||
|
|
||
|
##### Try passing as arguments a random string with special characters, and the output flag ("--output=") followed by a random file name.
|
||
5 years ago
|
|
||
5 years ago
|
###### Does it save the right output in the right file?
|
||
|
|
||
|
##### Try passing as arguments a random string with lower, upper case, spaces and numbers letters, and the output flag ("--output=") followed by a random file name.
|
||
5 years ago
|
|
||
5 years ago
|
###### Does it save the right output in the right file?
|
||
|
|
||
5 years ago
|
###### Are all the test files tested saved?
|
||
5 years ago
|
|
||
5 years ago
|
###### As an auditor, is this project up to every standard? If not, why are you failing the project?(Empty Work, Incomplete Work, Invalid compilation, Cheating, Crashing, Leaks)
|
||
|
|
||
5 years ago
|
#### Basic
|
||
|
|
||
3 years ago
|
###### +Does the project runs quickly and effectively (Favoring of recursive, no unnecessary data requests, etc.)?
|
||
5 years ago
|
|
||
3 years ago
|
###### +Is the output of the program well structured? Are the characters are correctly in line?
|
||
5 years ago
|
|
||
3 years ago
|
###### +Is there a test file for this code?
|
||
5 years ago
|
|
||
3 years ago
|
###### +Are the tests checking each possible case?
|
||
5 years ago
|
|
||
3 years ago
|
###### +Does the code obey the [good practices](../../good-practices/README.md)?
|
||
5 years ago
|
|
||
|
#### Social
|
||
|
|
||
3 years ago
|
###### +Did you learn anything from this project?
|
||
5 years ago
|
|
||
3 years ago
|
###### +Would you recommend/nominate this program as an example for the rest of the school?
|