The tables for black and white were not equal, the starting position didn't give an evaluation of 0. Apart from fixing that, this commit also added checks for checkmate and stalemate and sets the evaluation value accordingly.
Also added better unit tests for the evaluation function.
The tables for black and white were not equal, the starting position didn't give an evaluation of 0. Apart from fixing that, this commit also added checks for
checkmate
andstalemate
and sets the evaluation value accordingly.Also added better unit tests for the evaluation function.
Closes #42.