Skip to content

Commit b669d8a

Browse files
authored
Merge pull request exercism#631 from exercism/collatz-conjecture-update
collatz-conjecture: update to latest tests
2 parents 8f3aba5 + 170c0c2 commit b669d8a

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎exercises/collatz-conjecture/src/test/java/CollatzCalculatorTest.java‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import static org.junit.Assert.assertEquals;
88

99
/*
10-
* version: 1.0.0
10+
* version: 1.1.0
1111
*/
1212
public class CollatzCalculatorTest {
1313

@@ -38,6 +38,12 @@ public void testCorrectNumberOfStepsWhenBothStepTypesAreNeeded() {
3838
assertEquals(9, collatzCalculator.computeStepCount(12));
3939
}
4040

41+
@Ignore("Remove to run test")
42+
@Test
43+
public void testAVeryLargeInput() {
44+
assertEquals(152, collatzCalculator.computeStepCount(1000000));
45+
}
46+
4147
@Ignore("Remove to run test")
4248
@Test
4349
public void testZeroIsConsideredInvalidInput() {

0 commit comments

Comments
 (0)