Skip to content
JacobRoberts edited this page Apr 23, 2014 · 6 revisions

go test github.com/jacobroberts/chess/engine

This makes sure that the back-end chess engine works as intended; pieces can move to the right squares, checkmate is automatically detected, etc.

go test github.com/jacobroberts/chess/search

This makes sure that the AI is functioning correctly; the functions it uses for board evaluation return what they're supposed to, a small search returns the objectively correct move, etc.

The output of both of these should look something like this:
ok github.com/JacobRoberts/chess/engine 0.123s

Clone this wiki locally