init version

This commit is contained in:
2025-07-17 23:46:07 +02:00
commit 08884ebffb
6 changed files with 645 additions and 0 deletions

15
src/tests.rs Normal file
View File

@@ -0,0 +1,15 @@
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);
}