From: Jérôme Benoit Date: Fri, 9 Feb 2018 18:23:14 +0000 (+0100) Subject: Better test case for the binary tree class. X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=42256966014a8bd9c55ac07f67404105c8003699;p=TP_POO.git Better test case for the binary tree class. Signed-off-by: Jérôme Benoit --- diff --git a/Arbres/ArbreBinaire.java b/Arbres/ArbreBinaire.java index a99b47a..8f79d28 100644 --- a/Arbres/ArbreBinaire.java +++ b/Arbres/ArbreBinaire.java @@ -185,6 +185,16 @@ public class ArbreBinaire { Btree.afficher(); Btree.afficher_arbre(); + + Btree.inserer(2); + Btree.inserer(7); + Btree.inserer(3); + Btree.inserer(9); + Btree.inserer(11); + Btree.inserer(10); + + Btree.afficher(); + Btree.afficher_arbre(); } }