Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/6tail/lunar-java
/ test6
Method
test6
src/test/java/sample/BaZiTest.java:57–63 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
55
}
56
57
@Test
58
public
void
test6(){
59
Solar solar =
new
Solar(2020,2,5,21,43,0);
60
Lunar lunar = solar.getLunar();
61
//[庚子, 戊寅, 戊寅, 癸亥]
62
System.out.println(lunar.getBaZi());
63
}
64
65
@Test
66
public
void
testBazi2Solar6() {
Callers
nothing calls this directly
Calls
2
getLunar
Method · 0.95
getBaZi
Method · 0.95
Tested by
no test coverage detected