Crate assert [] [src]

Assertions for testing.

Functions

absolute_within

Assert that the distance between the absolute values of the corresponding elements of two vectors is smaller than a given value.

equal

Assert that two vectors are equal.

error

Assert that the result is unsuccessful.

success

Assert that the result is successful.

within

Assert that the distance between the corresponding elements of two vectors is smaller than a given value.