schrum2 / EvoCraft-SCOPE

0 stars 0 forks source link

Make unit tests for novelty search #70

Closed MuellMark closed 2 years ago

MuellMark commented 2 years ago

I've added a few new characterizations, as well as distance metrics, and while they all run, I haven't had a way of testing them. Unit tests with pytest need to made for all of the characterizations and distance metrics to ensure they all work.

MuellMark commented 2 years ago

First I made unit tests for all 3 of the distance metrics. Once they were finished, and all passing, I closed #65. Once everything was finished with the distance metrics, I made unit tests for each of the characteristics. This featured a setup and teardown section that built the structures each time to avoid code repetition. Once all of those were verified, I also closed #64. Now that the unit tests were made, and verified the code in the other 2 issues, this issue can be closed.