[][src]Module expectest::prelude

A module contains reexport of all useful functions.

Re-exports

pub use crate::expect;

Functions

be_close_to

Returns a new BeCloseTo matcher with default delta equal to 0.001.

be_empty

Returns a new BeEmpty matcher.

be_eq

Returns a new BeEqualTo matcher.

be_equal_to

Returns a new BeEqualTo matcher.

be_err

Returns a new BeErr matcher.

be_false

Returns a new BeFalse matcher.

be_ge

Returns a new PartialOrder (greater or equal to) matcher.

be_greater_or_equal_to

Returns a new PartialOrder (greater or equal to) matcher.

be_greater_than

Returns a new PartialOrder (greater than) matcher.

be_gt

Returns a new PartialOrder (greater than) matcher.

be_le

Returns a new PartialOrder (less or equal to) matcher.

be_less_or_equal_to

Returns a new PartialOrder (less or equal to) matcher.

be_less_than

Returns a new PartialOrder (less than) matcher.

be_lt

Returns a new PartialOrder (less than) matcher.

be_none

Returns a new BeNone matcher.

be_ok

Returns a new BeOk matcher.

be_some

Returns a new BeSome matcher.

be_true

Returns a new BeTrue matcher.

be_within_range

Returns a new BeWithinRange matcher.

expect

Creates a new instance of ActualValue using value.

have_count

Returns a new HaveCount matcher.