Skip to content

A unit test to check error cases for ant simulations. A Shell script.

Notifications You must be signed in to change notification settings

emilwallner/Lem-in-Checker

Repository files navigation

Lem-in checker

  • 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
  • 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

About

A unit test to check error cases for ant simulations. A Shell script.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages