add assignment 2 q1 & q2
This commit is contained in:
8 files changed
+100548
No files matched your search
@@ -139,6 +139,7 @@ class DateTest {
|
||||
int month = 8;
|
||||
int year = 1999;
|
||||
|
||||
// As seen in Chapter 7 slides
|
||||
assertThrows(IllegalArgumentException.class,
|
||||
() -> { new Date(day, month, year); });
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user