ABAP unit tests are implemented in the form of test methods in local test classes in any ABAP programs. The expected results are checked with static methods of help class CL_ABAP_UNIT_ASSERT.
Using Global Test Classes Correctly
Methods of Class CL_ABAP_UNIT_ASSERT
Implementing Conditions in ABAP Unit Tests