[][src]Crate unit_test_utils

Collection of utilities for unit tests

This crate offers tools for unit tests, especially for projects involving numerical methods

Functions

assert_nearly_equal

Asserts that two numbers are nearly equal

assert_nearly_equal_array

Asserts that two given arrays are almost equal

nearly_equal

Whether two floats are nearly equal (up to specified tolerance)

nearly_equal_array

Checks whether two arrays are element-wise nearly equal