这里没有橄榄
12:41 · 2021年11月13日 · 周六
Eli Bendersky's website
Testing multiple implementations of a trait in Rust
Telegraph
|
原文
Telegraph
Testing multiple implementations of a trait in Rust - Eli Bendersky's website
I've been hacking on a small practice project in Rust where I implement the samedata structure in several different ways. When testing this project, I want torun exactly the same set of tests on several types that implement the sametrait. As a demonstrative…
Home
Powered by
BroadcastChannel
&
Sepia