Skip to content

Commit

Permalink
fix: Added @ignore to the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DerSimeon committed Oct 14, 2024
1 parent 157270a commit a96de6e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion exercises/practice/series/src/test/kotlin/SeriesTest.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import org.junit.Test
import kotlin.test.Test
import kotlin.test.Ignore
import kotlin.test.assertEquals

class SeriesTest {
Expand All @@ -11,6 +12,7 @@ class SeriesTest {
)
}

@Ignore
@Test
fun slicesOfOneFromTwo() {
assertEquals(
Expand All @@ -19,6 +21,7 @@ class SeriesTest {
)
}

@Ignore
@Test
fun slicesOfTwo() {
assertEquals(
Expand All @@ -27,6 +30,7 @@ class SeriesTest {
)
}

@Ignore
@Test
fun slicesOfTwoOverlap() {
assertEquals(
Expand All @@ -35,6 +39,7 @@ class SeriesTest {
)
}

@Ignore
@Test
fun slicesCanIncludeDuplicates() {
assertEquals(
Expand All @@ -43,6 +48,7 @@ class SeriesTest {
)
}

@Ignore
@Test
fun slicesOfALongSeries() {
assertEquals(
Expand All @@ -58,21 +64,25 @@ class SeriesTest {
)
}

@Ignore
@Test(expected = IllegalArgumentException::class)
fun sliceLengthIsTooLarge() {
Series.slices(4, "123")
}

@Ignore
@Test(expected = IllegalArgumentException::class)
fun sliceLengthCannotBeZero() {
Series.slices(0, "123")
}

@Ignore
@Test(expected = IllegalArgumentException::class)
fun sliceLengthCannotBeNegative() {
Series.slices(-2, "123")
}

@Ignore
@Test(expected = IllegalArgumentException::class)
fun emptySeriesIsInvalid() {
Series.slices(1, "")
Expand Down

0 comments on commit a96de6e

Please sign in to comment.