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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwMzEyODIsIm5iZiI6MTcyNDAzMDk4MiwicGF0aCI6Ii82NjkxNTI3NC8zMjQ1NjcwNzctYzc0ZTcwNTItMjM2OS00YjQ3LWE1ZDktMDA2ZDU3YTNhODJmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE5VDAxMjk0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQxNTQxOWE5ZDgwOWNjOGUyY2FiMjZlZjQyZmJlNzlkYjU0ODNlMzRiZTkyNGU4ZWYzNzA4YjA0YWFhOTg4YTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.9qAvdT5O06WnuiY6JJojIsOnC7pCCE-s86WFZXjFATQ)
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
◦ Email: gemartin@student.42barcelona.com
◦ Linkedin: https://www.linkedin.com/in/gemartin99/