Closed range numerical bounds assertion
Passes if the numeric value or vector elements fall inside [min, max].
actual (Int): | Float | Vector The
numeric value or vector to check.
min (Int): | Float Lower bound
(inclusive).
max (Int): | Float Upper bound
(inclusive).
Expect_pass when within bounds; Expect_hold
on NA; Expect_stop if out of bounds.
assert(expect_between(25.0, 10.0, 50.0))