コード例 #1
0
 @Test
 public void testSetBirthday() {
   FacePamphletProfile test = new FacePamphletProfile("Test Profile");
   test.setBirthday(2, 7);
   assertTrue(test.getBirthdayMonth() == 2 && test.getBirthdayDate() == 7);
 }
コード例 #2
0
 @Test
 public void testGetBirthday() {
   FacePamphletProfile test = new FacePamphletProfile("Test Profile");
   test.setBirthday(1, 8);
   assertTrue(test.getBirthdayMonth() == 1 && test.getBirthdayDate() == 8);
 }