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.

106 lines
2.6 KiB

#### Functional
###### Has the requirement for the allowed packages been respected? (Reminder for this project: (only [standard packages](https://golang.org/pkg/)
##### Try to run `"./push_swap"`.
5 years ago
###### Does it display nothing?
5 years ago
##### Try to run `"./push_swap 2 1 3 6 5 8"`.
5 years ago
###### Does it display a valid solution and less than 9 instructions?
5 years ago
##### Try to run `"./push_swap 0 1 2 3 4 5"`.
5 years ago
###### Does it display nothing?
5 years ago
##### Try to run `"./push_swap 0 one 2 3"`.
5 years ago
```console
Error
```
5 years ago
###### Does it display the right result as above?
5 years ago
##### Try to run `"./push_swap 1 2 2 3"`.
5 years ago
```console
Error
```
5 years ago
###### Does it display the right result as above?
5 years ago
##### Try to run `"./push_swap <5 random numbers>"` with 5 random numbers instead of the tag.
5 years ago
###### Does it display a valid solution and less than 12 instructions?
5 years ago
##### Try to run `"./push_swap <5 random numbers>"` with 5 different random numbers instead of the tag.
###### Does it still displays a valid solution and less than 12 instructions?
5 years ago
##### Try to run `"./checker "` and input nothing.
5 years ago
5 years ago
###### Does it display nothing?
##### Try to run `"./checker 0 one 2 3"`.
5 years ago
```console
Error
```
5 years ago
###### Does it display the right result as above?
5 years ago
##### Try to run `"echo -e "sa\npb\nrrr\n" | ./checker 0 9 1 8 2 7 3 6 4 5"`.
5 years ago
```console
KO
```
5 years ago
###### Does it display the right result as above?
5 years ago
##### Try to run `"echo -e "pb\nra\npb\nra\nsa\nra\npa\npa\n" | ./checker 0 9 1 8 2"`.
5 years ago
```console
OK
```
5 years ago
###### Does it display the right result as above?
5 years ago
##### Try to run `"ARG=("4 67 3 87 23"); ./push_swap $ARG | ./checker $ARG"`.
5 years ago
```console
OK
```
5 years ago
###### Does it display the right result as above?
###### 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)
#### General
##### Try to run `"ARG=("<100 random numbers>"); ./push_swap $ARG"` with 100 random different numbers instead of the tag.
5 years ago
###### +Does it display less than 700 commands?
##### Try to run `"ARG=("<100 random numbers>"); ./push_swap $ARG | ./checker $ARG"` with the same 100 random different numbers as before instead of the tag.
5 years ago
```console
5 years ago
OK
```
5 years ago
###### +Does it display the right result as above?
#### Basic
###### +Does the code obey the [good practices](https://public.01-edu.org/subjects/good-practices.en)?
5 years ago
###### +Is there a test file for this code?
5 years ago
###### +Are the tests checking each possible case?
#### Social
###### +Did you learn anything from this project?
5 years ago
5 years ago
###### +Would you recommend/nominate this program as an example for the rest of the school?