Skip to content

Commit 51ff539

Browse files
committed
add Ab Tree generation to CLI
1 parent 068fce6 commit 51ff539

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TumgadCLI.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,8 @@ private static void chooseExercises() {
183183
Graph.generateExercise();
184184
break;
185185
case "AB":
186-
say("AB Trees can not be generated yet, still in development");
186+
System.out.println(ANSI_PURPLE + "Generating (a,b) Trees" + ANSI_RESET);
187+
BTree.generateExercise();
187188
break;
188189
case "AVL":
189190
System.out.println(ANSI_PURPLE + "Generating AVL Trees" + ANSI_RESET);
@@ -205,7 +206,6 @@ private static void chooseExercises() {
205206
say("Floyd-Warshall can not be generated yet, still in development");
206207
break;
207208
case "DEV":
208-
BTree.generateExercise();
209209
say("Generating components that are still in development");
210210
break;
211211
default:

0 commit comments

Comments
 (0)