diff --git a/questionGenerator/src/main/java/Main.java b/questionGenerator/src/main/java/Main.java index a6a7a6c9..0758c9b2 100644 --- a/questionGenerator/src/main/java/Main.java +++ b/questionGenerator/src/main/java/Main.java @@ -12,23 +12,23 @@ public class Main { public static void main(String[] args) { QuestionGenerator qg = new QuestionGenerator("en"); - // run(qg, QuestionType.CAPITAL, 3); - // System.out.println(); + run(qg, QuestionType.CAPITAL, 3); + System.out.println(); - // run(qg, QuestionType.LANGUAGE, 3); - // System.out.println(); + run(qg, QuestionType.LANGUAGE, 3); + System.out.println(); - // run(qg, QuestionType.POPULATION, 3); - // System.out.println(); + run(qg, QuestionType.POPULATION, 3); + System.out.println(); - // run(qg, QuestionType.SIZE, 3); - // System.out.println(); + run(qg, QuestionType.SIZE, 3); + System.out.println(); - // run(qg, QuestionType.HEAD_OF_GOVERMENT, 3); - // System.out.println(); + run(qg, QuestionType.HEAD_OF_GOVERMENT, 3); + System.out.println(); - // run(qg, QuestionType.DIRECTOR, 3); - // System.out.println(); + run(qg, QuestionType.DIRECTOR, 3); + System.out.println(); run(qg, QuestionType.VIDEOGAME_DEVELOPER, 3); } @@ -40,6 +40,6 @@ private static void run(QuestionGenerator qg, QuestionType type, int numberOfQue question.setNumber(i); System.out.println(question.getJSON().toString()); } - // QuestionRepository.getInstance().insert(questions.stream().map(q -> q.getJSON().toString()).toList()); + QuestionRepository.getInstance().insert(questions.stream().map(q -> q.getJSON().toString()).toList()); } }