a test
This commit is contained in:
parent
95998d4a95
commit
ae2d94d6f8
1 changed files with 11 additions and 0 deletions
11
src/main.rs
11
src/main.rs
|
|
@ -31,4 +31,15 @@ impl List {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn test() {
|
||||
let mut list = List::new();
|
||||
list.push(42);
|
||||
println!("{:?}", list);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue