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](https://private-user-images.githubusercontent.com/66915274/324567077-c74e7052-2369-4b47-a5d9-006d57a3a82f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMTMyMDcsIm5iZiI6MTczOTIxMjkwNywicGF0aCI6Ii82NjkxNTI3NC8zMjQ1NjcwNzctYzc0ZTcwNTItMjM2OS00YjQ3LWE1ZDktMDA2ZDU3YTNhODJmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDE4NDE0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUwN2Y0MDNiMzg3Y2IwYjliMjdiNmRlNzUzYzViOTQwMTY4ODNhN2EyODkzMDRmNTUxOTgyYWJmMDBiOGQ1Y2UmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.jN9G_y15NbQRbbCyjeJsMyeJYDpS2ZLhWoYf7AO8hOA)
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
gemartin |
◦ Email: gemartin@student.42barcelona.com
◦ Linkedin: https://www.linkedin.com/in/gemartin99/