Skip to content
Snippets Groups Projects
Commit 5e0debf1 authored by poulpe's avatar poulpe
Browse files

[Update] Add print (tested)

parent cfa4b3ba
No related branches found
No related tags found
No related merge requests found
...@@ -226,7 +226,7 @@ static MunitResult test_tree_print() ...@@ -226,7 +226,7 @@ static MunitResult test_tree_print()
nd = bst_insert(nd,7); nd = bst_insert(nd,7);
nd = bst_insert(nd,14); nd = bst_insert(nd,14);
nd = bst_insert(nd,13); nd = bst_insert(nd,13);
FILE* f = tmpfile(); FILE* f = tmpfile; // Change by stdout for print in console
bst_print(nd,f); bst_print(nd,f);
char buffer[22]; char buffer[22];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment