Replaces bare asserts with test framework utils across both the functional tests and the test framework itself.
Also adds the assert_not_equal
, assert_less_than
, and assert_less_than_or_equal
util functions for greater readability.
Fixes #23119.