Skip to content
This repository was archived by the owner on Aug 30, 2021. It is now read-only.

Commit dd38541

Browse files
committed
Fix up the unit test a bit.
1 parent 4786810 commit dd38541

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

‎test/sample/java/project/SampleJavaProjectTest.java‎

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,6 @@
99
*/
1010
public class SampleJavaProjectTest extends TestCase {
1111

12-
/**
13-
* JUnit boilerplate.
14-
*
15-
* @param name the name string
16-
*/
17-
public SampleJavaProjectTest(final String name) {
18-
super(name);
19-
}
20-
2112
/**
2213
* Holds an instance of the class we are testing.
2314
*/
@@ -35,5 +26,7 @@ public final void setUp() {
3526
*/
3627
public final void testAdd() {
3728
assertEquals(sjp.add(3, 4), 7);
29+
assertEquals(sjp.add(5, -5), 0);
30+
assertEquals(sjp.add(-3, 4), 1);
3831
}
3932
}

0 commit comments

Comments
 (0)