A unit test checks to see that a program module behaves as intended. All program modules are unit tested equally regardless of how much user-visible functionality they provide or how many features they support.

https://en.wikipedia.org/wiki/Unit_testing