For running tests you to install cargo-nextest
:
$ cargo install cargo-nextest
Then you can easily run tests (only nm-math
crate has unittests):
$ cargo nextest run -p nm-math
For performing benchmark tests you need to install cargo-criterion
:
$ cargo install cargo-criterion
To run benches simply type (only nm-math
crate has bench tests):
$ cargo criterion -p nm-math
You can find criterion reports in ./target/criterion/reports
directory
Licensed under the GNU GPL 3.0. Copyright 2022 Timur Israpilov. Copy of the license.