diff --git a/src/test/java/seedu/address/model/person/MonthTest.java b/src/test/java/seedu/address/model/person/MonthTest.java index 68d05daf5b3..85ed5a71b33 100644 --- a/src/test/java/seedu/address/model/person/MonthTest.java +++ b/src/test/java/seedu/address/model/person/MonthTest.java @@ -2,6 +2,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.Test; @@ -17,6 +18,8 @@ public class MonthTest { public void execute_monthEqualsSuccess() { Month testMonth = new Month(1); assertEquals(new Month(Integer.parseInt(VALID_MONTH)), testMonth); + assertEquals(testMonth, testMonth); + assertNotEquals(testMonth, null); } @Test