- Add the sleep function before your return or exit statement. Part of the unistd.h library.
- sleep(3);
- Clone the folder in your Lem_in folder
- git clone https://github.com/emilwallner/Lem-in-Checker.git Maps && sh ./Maps/run.sh
- The output of each ant farm is saved in a new folder, Result.
- cat ./Result/nameoffile
- It compares all your output to my output and returns the difference in output_difference.txt
- cat output_difference.txt
- If it it empty, you have the same result as me.
- If you want to test 10K rooms and 100K rooms, uncomment them in the run.sh file.
- If you have more maps, results from other algorithms, or a better shell script. Ping me and I'll add you as a collaborator.
- Many of the maps were made by @cmehay's lem-in map generator: https://github.com/cmehay/lem-in_generator
-
Notifications
You must be signed in to change notification settings - Fork 7
emilwallner/Lem-in-Checker
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A unit test to check error cases for ant simulations. A Shell script.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published