Unity supports two kinds of tests (
playmode). The example project supports both.
More information and documentation concerning Unity tests can be found here:
Unity Test Framework
Example Project Test files
Tests can be found here:
Code coverage support
This was implemented here in the example project: