Function unit_test_utils::assert_all_le
source · Expand description
Asserts that all elements in an array are less than or equal a given value
Arguments
a
given array of floating-point numberslim
the upper bound on the array; all elements must be less than or equal tolim
, otherwise the function panicsmsg
error message
Panics
The function panic if there is at least on element in a
which is greater than lim