Crate assert [] [src]

Assertions for testing.

Traits

Float

A floating-point number.

Floats

A collection of floating-point numbers.

Functions

close

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

close_abs

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