mixed type num func, bool func, constants and tests