From 42256966014a8bd9c55ac07f67404105c8003699 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 9 Feb 2018 19:23:14 +0100 Subject: [PATCH] Better test case for the binary tree class. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- Arbres/ArbreBinaire.java | 10 ++++++++++ 1 file changed, 10 insertions(+) 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(); } } -- 2.34.1