Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Added @Ignore to the tests #682

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions exercises/practice/matrix/src/test/kotlin/MatrixTest.kt
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

Expand All @@ -11,6 +12,7 @@ class MatrixTest {
assertEquals(expectedRow, Matrix(matrixAsString).row(rowIndex))
}

@Ignore
@Test
fun `extract row from matrix`() {
val matrixAsString = "1 2\n3 4"
Expand All @@ -19,6 +21,7 @@ class MatrixTest {
assertEquals(expectedRow, Matrix(matrixAsString).row(rowIndex))
}

@Ignore
@Test
fun `extract row from diff widths matrix`() {
val matrixAsString = "1 2\n10 20"
Expand All @@ -27,6 +30,7 @@ class MatrixTest {
assertEquals(expectedRow, Matrix(matrixAsString).row(rowIndex))
}

@Ignore
@Test
fun `extract row from non square matrix`() {
val matrixAsString = """
Expand All @@ -40,6 +44,7 @@ class MatrixTest {
assertEquals(expectedRow, Matrix(matrixAsString).row(rowIndex))
}

@Ignore
@Test
fun `extract column from one number matrix`() {
val matrixAsString = "1"
Expand All @@ -48,6 +53,7 @@ class MatrixTest {
assertEquals(expectedColumn, Matrix(matrixAsString).column(columnIndex))
}

@Ignore
@Test
fun `extract column matrix`() {
val matrixAsString = """
Expand All @@ -60,6 +66,7 @@ class MatrixTest {
assertEquals(expectedColumn, Matrix(matrixAsString).column(columnIndex))
}

@Ignore
@Test
fun `extract column from non square matrix`() {
val matrixAsString = """
Expand All @@ -72,6 +79,7 @@ class MatrixTest {
assertEquals(expectedColumn, Matrix(matrixAsString).column(columnIndex))
}

@Ignore
@Test
fun `extract column from diff widths matrix`() {
val matrixAsString = """
Expand Down