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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTczMTMxMTQsIm5iZiI6MTcxNzMxMjgxNCwicGF0aCI6Ii82NjkxNTI3NC8zMjQ1NjcwNzctYzc0ZTcwNTItMjM2OS00YjQ3LWE1ZDktMDA2ZDU3YTNhODJmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjAyVDA3MjAxNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRlYTAzNWZjZWE2M2RkZmI4ZmUzZTk0ZWIyYTg1ZjYzMGRkYjJmYjhjOTE2MjM3YzQwNWUxNTY0MzM3YTFiZDImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.jlGJ679ViQsG_GJgOtn9GEKF5ndR8aQEe3zKy8KUaLc)
You should clone this repository with the following command:
git clone [email protected]: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: [email protected]
◦ Linkedin: https://www.linkedin.com/in/gemartin99/