tracks/kotlin/exercises/collatz-conjecture/src/test/kotlin/CollatzCalculatorTest.kt in trackler-2.1.0.36 vs tracks/kotlin/exercises/collatz-conjecture/src/test/kotlin/CollatzCalculatorTest.kt in trackler-2.1.0.37
- old
+ new
@@ -3,11 +3,11 @@
import org.junit.Test
import org.junit.rules.ExpectedException
import kotlin.test.assertEquals
/*
- * version: 1.0.0
+ * version: 1.1.0
*/
class CollatzCalculatorTest {
@Rule
@JvmField
@@ -26,9 +26,15 @@
@Ignore
@Test
fun testCorrectNumberOfStepsWhenBothStepTypesAreNeeded() {
assertEquals(9, CollatzCalculator.computeStepCount(12))
+ }
+
+ @Ignore
+ @Test
+ fun testAVeryLargeInput() {
+ assertEquals(152, CollatzCalculator.computeStepCount(1000000))
}
@Ignore
@Test
fun testZeroIsConsideredInvalidInput() {