assert_gt_le

(alias) function <T: -comparable> assert_gt_le(actual: T, least_expected: T, greatest_expected: T)

Assert that a value falls within given bounds.

Specifically, assert that the value is greater than a lower bound, and less than or equal to an upper bound.

Alias

Since

0.10.4

Parameters

actual

the actual value

least_expected

the lower bound (exclusive)

greatest_expected

the upper bound (inclusive)