SirBob01 / NEAT-Python

Genetic learning algorithm implementation for simulations, games, or general machine learning problems
BSD 3-Clause "New" or "Revised" License
47 stars 10 forks source link

Add Unit Testing #2

Open foster999 opened 4 years ago

foster999 commented 4 years ago

It might be useful to implement unit testing for at least the key functions of the package. This would ensure that any future refactoring or development doesn't alter their function from that intended.

@SirBob01 if this seems like a good idea, would you have any preference of testing package (e.g. unittest or pytest)?

SirBob01 commented 4 years ago

@foster999 I have no particular preference (I have this bad habit of only manually testing my code), but I'm more familiar with unittest.