From 6eea1a186b34382a44cb2a3dd4e02908c3be50cd Mon Sep 17 00:00:00 2001 From: Tobias Schneider Date: Sat, 4 Jan 2025 17:25:00 +0100 Subject: [PATCH] WIP --- .../jollyday/tests/CalendarHierarchyTest.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 jollyday-tests/src/test/java/de/focus_shift/jollyday/tests/CalendarHierarchyTest.java diff --git a/jollyday-tests/src/test/java/de/focus_shift/jollyday/tests/CalendarHierarchyTest.java b/jollyday-tests/src/test/java/de/focus_shift/jollyday/tests/CalendarHierarchyTest.java new file mode 100644 index 000000000..e02c34ce0 --- /dev/null +++ b/jollyday-tests/src/test/java/de/focus_shift/jollyday/tests/CalendarHierarchyTest.java @@ -0,0 +1,19 @@ +package de.focus_shift.jollyday.tests; + +import de.focus_shift.jollyday.core.HolidayCalendar; +import org.junit.jupiter.api.Test; + +import java.util.Arrays; + +import static de.focus_shift.jollyday.core.HolidayManager.getInstance; +import static de.focus_shift.jollyday.core.ManagerParameters.create; + +class CalendarHierarchyTest { + + @Test + void name() { + Arrays.stream(HolidayCalendar.values()).forEach(holidayCalendar -> { + System.out.println(getInstance(create(holidayCalendar)).getCalendarHierarchy()); + }); + } +}