16 lines
271 B
Rust
16 lines
271 B
Rust
use super::*;
|
|
|
|
#[test]
|
|
fn it_works() {
|
|
let ll = Box::leak(Box::new(LinkedListWrapper::new()));
|
|
|
|
println!("{:#?}", ll.clone_into_vec());
|
|
|
|
ll.prepend("test");
|
|
ll.prepend("another test");
|
|
|
|
println!("{:#?}", ll.clone_into_vec());
|
|
|
|
assert_eq!(4, 4);
|
|
}
|