Skip to content

augustobecker/so_long_tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

so_long_tester - @42sp

ℹ️ 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

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.

To see other projects developed by me at 42, click here: 42 Cursus.

Author

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

👋 How to reach me: