Skip to content

Commit 2f8186b

Browse files
authored
fix: Added @ignore to the tests (#675)
[no important files changed]
1 parent ac21025 commit 2f8186b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

exercises/practice/darts/src/test/kotlin/DartsTest.kt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import kotlin.test.Ignore
12
import kotlin.test.Test
23
import kotlin.test.assertEquals
34

@@ -6,39 +7,51 @@ class DartsTest {
67
@Test
78
fun `missed target`() = assertEquals(0, Darts.score(-9, 9))
89

10+
@Ignore
911
@Test
1012
fun `on the outer circle`() = assertEquals(1, Darts.score(0, 10))
1113

14+
@Ignore
1215
@Test
1316
fun `on the middle circle`() = assertEquals(5, Darts.score(-5, 0))
1417

18+
@Ignore
1519
@Test
1620
fun `on the inner circle`() = assertEquals(10, Darts.score(0, -1))
1721

22+
@Ignore
1823
@Test
1924
fun `exactly on centre`() = assertEquals(10, Darts.score(0, 0))
2025

26+
@Ignore
2127
@Test
2228
fun `near the centre`() = assertEquals(10, Darts.score(-0.1, -0.1))
2329

30+
@Ignore
2431
@Test
2532
fun `just within the inner circle`() = assertEquals(10, Darts.score(0.7, 0.7))
2633

34+
@Ignore
2735
@Test
2836
fun `just outside the inner circle`() = assertEquals(5, Darts.score(0.8, -0.8))
2937

38+
@Ignore
3039
@Test
3140
fun `just within the middle circle`() = assertEquals(5, Darts.score(-3.5, 3.5))
3241

42+
@Ignore
3343
@Test
3444
fun `just outside the middle circle`() = assertEquals(1, Darts.score(-3.6, -3.6))
3545

46+
@Ignore
3647
@Test
3748
fun `just within the outer circle`() = assertEquals(1, Darts.score(-7.0, 7.0))
3849

50+
@Ignore
3951
@Test
4052
fun `just outside the outer circle`() = assertEquals(0, Darts.score(7.1, -7.1))
4153

54+
@Ignore
4255
@Test
4356
fun `asymmetric position between the inner and middle circles`() = assertEquals(5, Darts.score(0.5, -4))
4457
}

0 commit comments

Comments
 (0)