Skip to content

Commit 318e9f8

Browse files
author
Gonzalo Diaz
committed
[REFACTOR] better coverage
1 parent 97e47b7 commit 318e9f8

File tree

1 file changed

+8
-0
lines changed
  • algorithm-exercises-java/src/test/java/ae/projecteuler/helper

1 file changed

+8
-0
lines changed

algorithm-exercises-java/src/test/java/ae/projecteuler/helper/BigNumTest.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@ class BigNumTest {
7070
expectedAnswer,
7171
solutionFound.toArray()
7272
);
73+
74+
BigNum solutionFoundB = new BigNum(input);
75+
solutionFoundB.bigSum(solutionFound);
76+
77+
assertArrayEquals(
78+
expectedAnswer,
79+
solutionFoundB.toArray()
80+
);
7381
}
7482

7583
@Test void bigMultiplyRowToBigNumTest() {

0 commit comments

Comments
 (0)