Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/6tail/lunar-java
/ test1
Method
test1
src/test/java/sample/BaZiTest.java:17–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
15
public
class
BaZiTest {
16
17
@Test
18
public
void
test1(){
19
Solar solar =
new
Solar(2020,1,1,22,35,0);
20
Lunar lunar = solar.getLunar();
21
//[己亥, 丙子, 癸卯, 癸亥]
22
System.out.println(lunar.getBaZi());
23
}
24
25
@Test
26
public
void
test2(){
Callers
nothing calls this directly
Calls
2
getLunar
Method · 0.95
getBaZi
Method · 0.95
Tested by
no test coverage detected