def check_not_negative(val, message):
if val < <NUM_LIT:0>:<EOL><INDENT>raise AssertionError(message)<EOL><DEDENT>
Tests if a value is not negative.

:param val: (Number), the value tested to see if it is not negative.
:param message: (str), the error message.