Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/6tail/lunar-java
/ test2
Method
test2
src/test/java/sample/BaZiTest.java:25–31 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
23
}
24
25
@Test
26
public
void
test2(){
27
Solar solar =
new
Solar(2020,1,6,14,35,0);
28
Lunar lunar = solar.getLunar();
29
//[己亥, 丁丑, 戊申, 己未]
30
System.out.println(lunar.getBaZi());
31
}
32
33
@Test
34
public
void
test3(){
Callers
nothing calls this directly
Calls
2
getLunar
Method · 0.95
getBaZi
Method · 0.95
Tested by
no test coverage detected