/234124-ex5-tests

A simple set of tests for the 5th exercise in the Technions course 234124

Primary LanguagePython

How to run tests

$ git clone https://github.com/mtshrmn/234124-ex5-tests ex5test
$ cd ex5test
$ cp /path/to/ex5.py .
$ python -m pytest

Running the tests on csl3

$ git clone https://github.com/mtshrmn/234124-ex5-tests ex5test
$ cd ex5test
$ sh ./install_pytest.sh
$ cp /path/to/ex5.py .
$ python3 -m pytest

Disclaimer

Those tests were randomly generated

Troubleshooting

  • Pytest isn't installed
$ python -m pytest
/usr/bin/python: No module named pytest

Install pytest using pip (make sure pip is installed)

$ python -m pip install pytest