From a96de6e5994f107853492a48f57c97747cbc5573 Mon Sep 17 00:00:00 2001 From: "Simeon L." Date: Mon, 14 Oct 2024 13:31:54 +0200 Subject: [PATCH] fix: Added @Ignore to the tests --- .../practice/series/src/test/kotlin/SeriesTest.kt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/exercises/practice/series/src/test/kotlin/SeriesTest.kt b/exercises/practice/series/src/test/kotlin/SeriesTest.kt index 106addab..f6c4658a 100644 --- a/exercises/practice/series/src/test/kotlin/SeriesTest.kt +++ b/exercises/practice/series/src/test/kotlin/SeriesTest.kt @@ -1,4 +1,5 @@ -import org.junit.Test +import kotlin.test.Test +import kotlin.test.Ignore import kotlin.test.assertEquals class SeriesTest { @@ -11,6 +12,7 @@ class SeriesTest { ) } + @Ignore @Test fun slicesOfOneFromTwo() { assertEquals( @@ -19,6 +21,7 @@ class SeriesTest { ) } + @Ignore @Test fun slicesOfTwo() { assertEquals( @@ -27,6 +30,7 @@ class SeriesTest { ) } + @Ignore @Test fun slicesOfTwoOverlap() { assertEquals( @@ -35,6 +39,7 @@ class SeriesTest { ) } + @Ignore @Test fun slicesCanIncludeDuplicates() { assertEquals( @@ -43,6 +48,7 @@ class SeriesTest { ) } + @Ignore @Test fun slicesOfALongSeries() { assertEquals( @@ -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, "")