lib/cucumber-rest-bdd/types.rb
def num_compare(type, left, right)
    case type
    when CMP_LESS_THAN then left < right
    when CMP_MORE_THAN then left > right
    when CMP_AT_MOST then left <= right
    when CMP_AT_LEAST then left >= right
    when CMP_EQUALS then left == right
    else left == right
    end
end
# compare two numbers using the FEWER_MORE_THAN optional modifier
compare two numbers using the FEWER_MORE_THAN optional modifier
compare two numbers using the FEWER_MORE_THAN optional modifier
def num_compare(type, left, right)
    case type
    when CMP_LESS_THAN then left < right
    when CMP_MORE_THAN then left > right
    when CMP_AT_MOST then left <= right
    when CMP_AT_LEAST then left >= right
    when CMP_EQUALS then left == right
    else left == right
    end
end
def num_compare ( type , left , right ) case type when CMP_LESS_THAN then left < right when CMP_MORE_THAN then left > right when CMP_AT_MOST then left <= right when CMP_AT_LEAST then left >= right when CMP_EQUALS then left == right else left == right end end
compare two numbers using the FEWER_MORE_THAN optional modifier
compare two numbers using the FEWER_MORE_THAN optional modifier
type
left
right