CodeReclaimers / neat-python

Python implementation of the NEAT neuroevolution algorithm
BSD 3-Clause "New" or "Revised" License
1.42k stars 493 forks source link

Unit test suite XOR example #145

Open Kuselokusi opened 5 years ago

Kuselokusi commented 5 years ago

Hi, I would like to know if a unit test suite was developed for the XOR example implementation of neat python to test if it does what it is suppose to do. If it was developed (or something similar to it) kindly indicate where it can be found please.

CodeReclaimers commented 5 years ago

There aren't any tests for the examples themselves, but there is basically a copy of the XOR example here: https://github.com/CodeReclaimers/neat-python/blob/master/tests/test_xor_example.py

That particular test is really just there as a smoke test to catch issues that might only show up when you do an end-to-end run.