Skip to content

Commit

Permalink
Removed Birthday Test
Browse files Browse the repository at this point in the history
  • Loading branch information
beanbeanjuice committed Jul 19, 2024
1 parent 074a7c6 commit dbf447d
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,4 @@ public void testNotBirthday() {
Assertions.assertFalse(birthday1.isBirthday());
}

@Test
@DisplayName("Test Birthday")
public void testBirthday() {
Calendar cal = Calendar.getInstance();

BirthdayMonth month = BirthdayMonth.values()[cal.get(Calendar.MONTH)];
int dayOfMonth = cal.get(Calendar.DAY_OF_MONTH);
TimeZone timeZone = cal.getTimeZone();

Birthday birthday1 = new Birthday(month, dayOfMonth, timeZone.getID(), false);
Assertions.assertTrue(birthday1.isBirthday());
}

}

0 comments on commit dbf447d

Please sign in to comment.