Skip to content

Commit

Permalink
fix: Added @ignore to the tests (#672)
Browse files Browse the repository at this point in the history
[no important files changed]
  • Loading branch information
DerSimeon authored Oct 20, 2024
1 parent 8c55dc1 commit 41324de
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import kotlin.test.Ignore
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertNotNull
Expand All @@ -15,6 +16,7 @@ class BinarySearchTreeTest {
assertEquals(expected, actual)
}

@Ignore
@Test
fun `inserts less`() {
val tree = BinarySearchTree<Char>()
Expand All @@ -32,6 +34,7 @@ class BinarySearchTreeTest {
assertEquals(expectedRoot, actualRoot)
}

@Ignore
@Test
fun `inserts same`() {
val tree = BinarySearchTree<String>()
Expand All @@ -49,6 +52,7 @@ class BinarySearchTreeTest {
assertEquals(expectedRoot, actualRoot)
}

@Ignore
@Test
fun `inserts right`() {
val tree = BinarySearchTree<Int>()
Expand All @@ -66,6 +70,7 @@ class BinarySearchTreeTest {
assertEquals(expectedRoot, actualRoot)
}

@Ignore
@Test
fun `creates complex tree`() {
val tree = BinarySearchTree<Char>()
Expand All @@ -76,6 +81,7 @@ class BinarySearchTreeTest {
assertEquals(expected, actual)
}

@Ignore
@Test
fun `sorts single element`() {
val tree = BinarySearchTree<String>()
Expand All @@ -85,6 +91,7 @@ class BinarySearchTreeTest {
assertEquals(expected, actual)
}

@Ignore
@Test
fun `sorts collection of two if second inserted is smaller than first`() {
val tree = BinarySearchTree<Int>()
Expand All @@ -95,6 +102,7 @@ class BinarySearchTreeTest {
assertEquals(expected, actual)
}

@Ignore
@Test
fun `sorts collection of two if second number is same as first`() {
val tree = BinarySearchTree<Char>()
Expand All @@ -105,6 +113,7 @@ class BinarySearchTreeTest {
assertEquals(expected, actual)
}

@Ignore
@Test
fun `sorts collection of two if second inserted is bigger than first`() {
val tree = BinarySearchTree<Char>()
Expand All @@ -115,6 +124,7 @@ class BinarySearchTreeTest {
assertEquals(expected, actual)
}

@Ignore
@Test
fun `iterates over complex tree`() {
val tree = BinarySearchTree<String>()
Expand All @@ -125,6 +135,7 @@ class BinarySearchTreeTest {
assertEquals(expected, actual)
}

@Ignore
@Test
fun `big tree level order`() {
val tree = BinarySearchTree<Int>()
Expand Down

0 comments on commit 41324de

Please sign in to comment.