I also hand rolled unit tests and I also posted a thread about it.
The short version is I found using Rust's trait bounded generics to be a reasonable solution, in contrast to C++ templates which I'd dread having to use so extensively.
I also hand rolled unit tests and I also posted a thread about it.
The short version is I found using Rust's trait bounded generics to be a reasonable solution, in contrast to C++ templates which I'd dread having to use so extensively.