Unused and testing
⚓ Rust 📅 2026-03-22 👤 surdeus 👁️ 3I have a structure with an implementation function I use for testing from another module. That is, the test suite for rolodex uses the person::build(...) method to build some people to test the rolodex interaction with people. The regular code for the program uses a different (person::to_person()) method to build person instances. However, using that from teh rolodex test would be quite messy.
Is there a convention for this situation?
Thanks,
Joel
6 posts - 3 participants
🏷️ Rust_feed