File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
alphametics/src/test/java
armstrong-numbers/src/test/java Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ public void testTenLetters() throws UnsolvablePuzzleException {
127127 @ Disabled ("Remove to run test" )
128128 @ Test
129129 @ DisplayName ("puzzle with ten letters and 199 addends" )
130- public void testTenLetters41Addends () throws UnsolvablePuzzleException {
130+ public void testTenLetters199Addends () throws UnsolvablePuzzleException {
131131 assertThat (new Alphametics ("THIS + A + FIRE + THEREFORE + FOR + ALL + HISTORIES + I + TELL + A + " +
132132 "TALE + THAT + FALSIFIES + ITS + TITLE + TIS + A + LIE + THE + TALE + OF + THE + LAST + FIRE + " +
133133 "HORSES + LATE + AFTER + THE + FIRST + FATHERS + FORESEE + THE + HORRORS + THE + LAST + FREE + " +
Original file line number Diff line number Diff line change @@ -63,15 +63,15 @@ public void fourDigitNumberIsArmstrongNumber() {
6363
6464 @ Disabled ("Remove to run test" )
6565 @ Test
66- @ DisplayName ("" )
66+ @ DisplayName ("Four-digit number that is not an Armstrong number " )
6767 public void fourDigitNumberIsNotArmstrongNumber () {
6868 assertThat (armstrongNumbers .isArmstrongNumber (9475 ))
6969 .isFalse ();
7070 }
7171
7272 @ Disabled ("Remove to run test" )
7373 @ Test
74- @ DisplayName ("Four -digit number that is not an Armstrong number" )
74+ @ DisplayName ("Seven -digit number that is an Armstrong number" )
7575 public void sevenDigitNumberIsArmstrongNumber () {
7676 assertThat (armstrongNumbers .isArmstrongNumber (9926315 ))
7777 .isTrue ();
You can’t perform that action at this time.
0 commit comments