if (count {expectedValue} each list) = 0 or (count expectedValue each number) ≠ 2 or (expectedValue's item 1 > expectedValue's item 2) then error "Invalid expected value (numeric equality check requires two-item list of minimum and maximum numbers)." number -1703 from expectedValue