Skip to content

Commit

Permalink
Test: Fix case
Browse files Browse the repository at this point in the history
  • Loading branch information
qkdxorjs1002 committed Mar 23, 2021
1 parent 5186d35 commit de151ff
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions app/src/test/java/com/novang/anisched/ExampleUnitTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@
*/
public class ExampleUnitTest {
@Test
public void subjectTest() {
public void extraTest() {
Anime anime = new Anime();
anime.setStatus("ON");
anime.setSubject("제목");
anime.setStartDate("2021-03-25");
anime.setStartDate("2019-03-25");
anime.setEndDate("2020-03-25");
anime.setTime("00:00");
assertEquals("[03-25] 제목", anime.getSubjectString());
assertEquals("종영", anime.getExtraInfo());
anime.setStartDate("2089-03-25");
anime.setEndDate("2099-03-25");
assertEquals("03-25", anime.getExtraInfo());
}
}

0 comments on commit de151ff

Please sign in to comment.