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.
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
gemartin |
◦ Email: [email protected]
◦ Linkedin: https://www.linkedin.com/in/gemartin99/