Skip to content

Commit

Permalink
added test to check node vec
Browse files Browse the repository at this point in the history
  • Loading branch information
sriram98v committed Oct 2, 2023
1 parent 6c4fb09 commit 48379a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ fn export_all_nodes(){
for item_idx in 0..string_set.len(){
tree.insert(item_idx.to_string(), string_set[item_idx].clone(), &0);
}
tree.export_all_nodes();
let nodes = tree.export_all_nodes();
serde_json::to_string_pretty(&nodes).expect("error in node vec");
}


Expand Down

0 comments on commit 48379a5

Please sign in to comment.