Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/augustobecker/so_long_tester

Tester for the so_long project of 42 school
https://github.com/augustobecker/so_long_tester

2022 42 so-long solongtester tester

Last synced: about 2 months ago
JSON representation

Tester for the so_long project of 42 school

Awesome Lists containing this project

README

        

so_long_tester - @42sp


:information_source: Tester for the so_long project of 42 school.

[Version Oct. 2022]

Tester for a series of map validations.

Such as:

• No map. [no-map]

• Missing argv. [miss-argv]

• Multiple argv. [mult-argv]

• Invalid extension. [invalid-extension]

• Map with an Empty Line. [empty-line]

• Not Rectangular Map. [not-rectangular]

• Invalid map parameter. [invalid-paramater]

• Missing W parameter. [miss-w]

• Missing C parameter. [miss-c]

• Missing E parameter. [miss-e]

• Missing P parameter. [miss-p]

• Extra P parameter. [extra-p]

New Suject's Requirements | 🚧 Under construction |

• Extra E parameter. [extra-e]

• No valid path. [no-valid-path]

How to get started:



Clone this tester in your so_long repository.

## Commands

cd into so_long_tester

make m = launch mandatory tests.

make [test_name] = launch only the specific test requested.

Outputs



![image](https://user-images.githubusercontent.com/81205527/179400332-9e80f631-7d46-464b-a0eb-e481b48ad6b4.png)

How it works:



The tester uses some invalid maps to test a series of map validations.
It returns OK if when executed with the maps the code outputs "Error"(as asked in the subject).

If you're looking for an implementation of so_long you can check my project here: [so_long](https://github.com/augustobecker/so_long).

To see other projects developed by me at 42, click here: [42 Cursus](https://github.com/augustobecker/42cursus).

Author







Augusto Becker | acesar-l | 🇧🇷👨‍🚀

:wave: How to reach me:


LinkedIn
Instagram
Gmail - augustobecker.dev@gmail.com
Discord - beckerzz#3614