Unit tests

Add unit-tests to verify the correct behaviour of functions used in gameplay.

The tests should be compiled through the existing CMake architecture.

Possible testing frameworks:

Also, the source tests files must be in a separated directory.

Edited by Cyprien Borée