/erlang_testers

erlang assignment testers for Functional Programming for Parallel and Concurrent systems course.

Each branch is a tester for a different assignment.

to use download the testing file from the assignment branch, and place it inside the assignment directory, then open the erlang shell and write:

c(ex{}_tester).
ex{}_tester:test().

if using git, you can add the tester repository as a submodule by:

git submodule add https://github.com/EliasA5/erlang_testers
git submodule set-branch --branch {branch name} -- erlang_testers
cd erlang_testers
git checkout -b {branch name} --track origin/{branch name}
cd ..

and you can update it to the latest version using:

git submodule update --remote

and to run it:

c("erlang_testers:ex{}_tester").
ex{}_tester:test().