Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for ShadowsRangerâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #287586 |
Can the module be split in the same file like this?
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_function_1() {
// test code for function 1 goes here
}
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_function_2() {
/... (more) |
— | over 1 year ago |