Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/6tail/lunar-java
/ test5
Method
test5
src/test/java/sample/BaZiTest.java:49–55 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
47
}
48
49
@Test
50
public
void
test5(){
51
Solar solar =
new
Solar(2020,2,4,1,42,0);
52
Lunar lunar = solar.getLunar();
53
//[己亥, 丁丑, 丁丑, 辛丑]
54
System.out.println(lunar.getBaZi());
55
}
56
57
@Test
58
public
void
test6(){
Callers
nothing calls this directly
Calls
2
getLunar
Method · 0.95
getBaZi
Method · 0.95
Tested by
no test coverage detected