也別忘了在lib.rs/mod.rs 加入相關的模組宣告。如此這般, cargo test --lib pXYZ::tests 便能讓測試自動化,每次WA 新增測資之後持續改善解答,落實TDD。
確定! 回上一頁