Skip to content

gemartin99/So_long-Tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🎮 So_long-Tester

This Tester checks:

▪️ Memory leaks on erroneous maps

▪️ Valid extensions

▪️ Permissions

▪️ Valid arguments

▪️ Rectangular maps

▪️ No incorrect characters

▪️ Player and output are not duplicated

▪️ Entire map is surrounded by walls

▪️ Required characters (E, P, C, 1)

▪️ Don't throw error on valid maps

▪️ Your program does not terminate unexpectedly.

Screen Shot 2024-04-22 at 8 15 37 PM

💡 How to use

You should clone this repository with the following command:

git clone git@github.com:gemartin99/So_long-Tester.git

Once the repository has been cloned, we will place it inside the repository with the following command:

cd So_long-Tester/

Now we must copy all the content of the repository that we have just cloned and paste it in our folder where the so_long program is located. We will make use of the following command:

cp -r Tester_so_long.sh maps_err maps_valid /path/to/so_long

Once we have copied everything to the correct path we only have to execute the script with the following command:

bash Tester_so_long.sh

Author ✍🏼

100px
gemartin

Intra 42

Maybe it would interest you!

- To check my progression in 42 common core ↙️

HERE

- My 42 intra profile ↙️

HERE

Contact 📥

Contact with me if you fine some errors! That will help future students! 😁

◦ Email: gemartin@student.42barcelona.com

◦ Linkedin: https://www.linkedin.com/in/gemartin99/