public class DayTest extends junit.framework.TestCase
Modifier and Type | Field and Description |
---|---|
private static int |
INCREMENT |
private static int |
MAX_DAYS |
Constructor and Description |
---|
DayTest() |
Modifier and Type | Method and Description |
---|---|
void |
testAdd()
This test tests the addDays method with positive
parameters.
|
void |
testAddNegative()
This test tests the addDays method with negative
parameters.
|
void |
testDaysFrom()
This test tests the daysFrom method.
|
void |
testGregorianBoundary()
This test tests arithmetic around the Gregorian
calendar change.
|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
private static final int MAX_DAYS
private static final int INCREMENT
public DayTest()
public void testAdd()
public void testAddNegative()
public void testDaysFrom()
public void testGregorianBoundary()