Ordered

IN_ORDER.in_order

IN_ORDER.in_order()

Checks that the values were in order.

OrderedIncorrectly.new

OrderedIncorrectly.new(format_problem, format_actual, meta)

Creates a new Ordered object that fails due to incorrectly ordered values.

This creates an Ordered object that always fails. If order is correct, use the _IN_ORDER constant.

PARAMETERS

format_problem:

(callable) accepts no args and returns string (the reported problem description).

format_actual:

(callable) accepts not args and returns string (the reported actual description).

meta:

(ExpectMeta) used to report the failure.

RETURNS

Ordered object.

OrderedIncorrectly.in_order

OrderedIncorrectly.in_order()

Checks that the values were in order.