Closed aadeg closed 2 years ago
This looks great! You need to run cargo fmt
to get the proper formatting, hence the failing CI
Sorry for that. Now it should be fixed.
Seems miri
is a bit more aggressive with borrowing rules. I've filed an error for this in https://github.com/rust-ndarray/ndarray/issues/1178 and will ignore this test for now
Thanks for your work on this @aadeg!
I've added some code to tests the DenseVector trait.
I used tarpaulin to evaluate the coverage improvement of the dense_vector.rs file: from 35% to 64%.
The tests are pretty simple. If you agree, I'd like to write some more unit tests to get confident with the library code and after that contributing on the algorithms.
I've a C++ dev background, and I've recently started learning Rust, so feel free to highlight any mistakes a did.