From 34981c30a78e8bbd7791131059a9210f9928b62c Mon Sep 17 00:00:00 2001
From: 刘光辉 <347230014@qq.com>
Date: 星期四, 17 九月 2026 09:24:09 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master' into master

---
 jnpf-lims/jnpf-lims-biz/src/test/java/jnpf/limsService/support/LimsSxtQuyangJihuaRenwuPlannerChecks.java |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/jnpf-lims/jnpf-lims-biz/src/test/java/jnpf/limsService/support/LimsSxtQuyangJihuaRenwuPlannerChecks.java b/jnpf-lims/jnpf-lims-biz/src/test/java/jnpf/limsService/support/LimsSxtQuyangJihuaRenwuPlannerChecks.java
new file mode 100644
index 0000000..976f8fe
--- /dev/null
+++ b/jnpf-lims/jnpf-lims-biz/src/test/java/jnpf/limsService/support/LimsSxtQuyangJihuaRenwuPlannerChecks.java
@@ -0,0 +1,25 @@
+package jnpf.limsService.support;
+
+import java.time.LocalDate;
+import java.util.Arrays;
+import java.util.List;
+
+public class LimsSxtQuyangJihuaRenwuPlannerChecks {
+    public static void main(String[] args) {
+        assertEquals(Arrays.asList(LocalDate.of(2026, 7, 1), LocalDate.of(2026, 7, 3), LocalDate.of(2026, 7, 5)),
+                LimsSxtQuyangJihuaRenwuPlanner.executionDates(
+                        LocalDate.of(2026, 7, 1), LocalDate.of(2026, 7, 5), "daily", 1));
+        assertEquals(Arrays.asList(LocalDate.of(2026, 1, 31), LocalDate.of(2026, 2, 28), LocalDate.of(2026, 3, 31)),
+                LimsSxtQuyangJihuaRenwuPlanner.executionDates(
+                        LocalDate.of(2026, 1, 31), LocalDate.of(2026, 3, 31), "monthly", 0));
+        assertEquals(Arrays.asList(LocalDate.of(2024, 2, 29), LocalDate.of(2025, 2, 28), LocalDate.of(2026, 2, 28)),
+                LimsSxtQuyangJihuaRenwuPlanner.executionDates(
+                        LocalDate.of(2024, 2, 29), LocalDate.of(2026, 2, 28), "yearly", 0));
+    }
+
+    private static void assertEquals(List<LocalDate> expected, List<LocalDate> actual) {
+        if (!expected.equals(actual)) {
+            throw new AssertionError("expected " + expected + " but was " + actual);
+        }
+    }
+}

--
Gitblit v1.8.0