Skip to content
Snippets Groups Projects
Commit 4e439270 authored by Björn Fischer's avatar Björn Fischer :new_moon_with_face:
Browse files

fix tests in 212Date

parent 661dfb86
Branches
No related tags found
No related merge requests found
......@@ -291,25 +291,21 @@ class DateTest {
@Test(expected = AssertionError::class)
fun testAssert1() {
val d1 = Date(81, 1, 1919)
assertEquals(d1,d1);
}
@Test(expected = AssertionError::class)
fun testAssert2() {
val d1 = Date(-4, 1, 1919)
assertEquals(d1,d1);
}
@Test(expected = AssertionError::class)
fun testAssert3() {
val d1 = Date(1, 14, 1919)
assertEquals(d1,d1);
}
@Test(expected = AssertionError::class)
fun testAssert4() {
val d1 = Date(1, 0, 1919)
assertEquals(d1,d1);
}
@Test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment