unit test
An automatic check that one small piece of code gives the expected result.
A unit test calls one function or class with chosen inputs and checks its outputs. In this course logic is unit-tested on the host computer, separately from the hardware.