Skip to content

unitTesting

RazGavrieli edited this page Dec 22, 2021 · 1 revision

For this project we have 10 simple tests that we used during production of the code, this way we simply ran the tests every time we changed anything in the code. (to make sure we didn't break it)

The tests are under 'tests' directory. The following picture is the two simple graphs we used to tests DiGraph and TSP:

testGraphs

In addition to the unitTests we also have a performanceTest.py file that measure running times of different algorithms. You can read more about it under the 'Performance' tab.

The following picture shows the tests directory:

testdirectory

Clone this wiki locally