Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/6tail/lunar-java
/ test1
Method
test1
src/test/java/test/LiuYaoTest.java:15–20 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
13
public
class
LiuYaoTest {
14
15
@Test
16
public
void
test1(){
17
Solar solar =
new
Solar(2020,4,23);
18
Lunar lunar = solar.getLunar();
19
Assert.assertEquals(lunar.toString(),
"佛灭"
,lunar.getLiuYao());
20
}
21
22
@Test
23
public
void
test2(){
Callers
nothing calls this directly
Calls
3
getLunar
Method · 0.95
toString
Method · 0.95
getLiuYao
Method · 0.95
Tested by
no test coverage detected