Skip to content

Commit

Permalink
chore: add UT
Browse files Browse the repository at this point in the history
  • Loading branch information
SylarLong committed Jan 2, 2024
1 parent 0265ffa commit 535c64d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/__tests__/ganzhi.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ import {
describe("calendar/heavenlyStemAndEarthlyBranch", () => {
test("getHeavenlyStemAndEarthlyBranchByLunarDate()", () => {
const data = [
{
date: "111-6-13",
timeIndex: 1,
isLeap: false,
result: "辛亥 乙未 庚寅 丁丑",
},
{
date: "1111-6-13",
timeIndex: 1,
isLeap: false,
result: "辛卯 乙未 甲辰 乙丑",
},
{
date: "2023-6-13",
timeIndex: 1,
Expand Down

0 comments on commit 535c64d

Please sign in to comment.