assert_is_ramp¶
- typhoon.test.signals.assert_is_ramp(signal, slope, tol, during=None, strictness=1, time_tol=0, initial_value=None, report_plot=None)¶
Assertion helper for
is_ramp
function. Has the same signature.Is equivalent to:
>>> result = is_ramp(*args, **kwargs) >>> assert_analysis(result, True)
- Raises:
AssertionError – In case result is different from
True
.
See also