Skip to content
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
5 changes: 5 additions & 0 deletions exercises/flatten-array/src/test/java/FlattenerTest.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import org.junit.Before;
import org.junit.Test;
import org.junit.Ignore;

import static java.util.Arrays.asList;
import static java.util.Collections.emptyList;
Expand Down Expand Up @@ -32,6 +33,7 @@ public void testASingleLevelOfNestingWithNoNulls() {
8)));
}

@Ignore

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As @stkent noted, going to need an import org.junit.Ignore; at the top to prevent a compilation error for practitioners when they download the exercise.

@Test
public void testFiveLevelsOfNestingWithNoNulls() {
assertEquals(
Expand All @@ -54,6 +56,7 @@ public void testFiveLevelsOfNestingWithNoNulls() {
"-2")));
}

@Ignore
@Test
public void testSixLevelsOfNestingWithNoNulls() {
assertEquals(
Expand All @@ -76,6 +79,7 @@ public void testSixLevelsOfNestingWithNoNulls() {
"8")));
}

@Ignore
@Test
public void testSixLevelsOfNestingWithNulls() {
assertEquals(
Expand All @@ -99,6 +103,7 @@ public void testSixLevelsOfNestingWithNulls() {
"negative two")));
}

@Ignore
@Test
public void testNestedListsFullOfNullsOnly() {
assertEquals(
Expand Down