File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/java/problems/impl Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ public class ISBNValidatorImplTest {
14
14
private final List <Integer > testValues1 = new ArrayList <>(Arrays .asList (1 ));
15
15
private final InverseMultiplierListProductSumGenerator inverseMultiplierListProductSumGenerator = new InverseMultiplierListProductSumGenerator () {
16
16
@ Override public long generateInverseMultiplierListProductSum (final List <Integer > values ) {
17
- if (values == testValues1 ) {
17
+ if (values . equals ( testValues1 ) ) {
18
18
return 11 ;
19
19
} else {
20
20
return 10 ;
@@ -39,8 +39,8 @@ public void testValidateISBN() {
39
39
// expected
40
40
}
41
41
42
- Assert .assertFalse (isbnValidator .validateISBN (1 ));
43
- Assert .assertTrue (isbnValidator .validateISBN (2 ));
42
+ Assert .assertTrue (isbnValidator .validateISBN (1 ));
43
+ Assert .assertFalse (isbnValidator .validateISBN (2 ));
44
44
}
45
45
46
46
}
You can’t perform that action at this time.
0 commit comments