Skip to content

Commit 6a9299d

Browse files
committed
More tests for issue #11.
1 parent dbcec70 commit 6a9299d

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package org.jvnet.jaxb2_commons.tests.simple_hashcode_equals_01.cases;
2+
3+
import org.junit.Assert;
4+
import org.junit.Test;
5+
6+
public class PrimitivesTest {
7+
8+
@Test
9+
public void equalsPrimitives() {
10+
Assert.assertEquals(new Primitives(), new Primitives());
11+
}
12+
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package org.jvnet.jaxb2_commons.tests.simple_hashcode_equals_01.cases;
2+
3+
import org.junit.Assert;
4+
import org.junit.Test;
5+
6+
public class UnboxedPrimitivesTest {
7+
8+
@Test
9+
public void equalsPrimitives() {
10+
Assert.assertEquals(new UnboxedPrimitives(), new UnboxedPrimitives());
11+
}
12+
13+
}

0 commit comments

Comments
 (0)