This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ***************************************************************************** | |
* Name: | |
* Date: | |
* Description: | |
**************************************************************************** */ | |
import org.junit.Test; | |
import java.util.ArrayList; | |
import java.util.List; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.junit.Test; | |
import static junit.framework.TestCase.assertEquals; | |
import static junit.framework.TestCase.assertFalse; | |
import static junit.framework.TestCase.assertTrue; | |
import static org.junit.Assert.assertNotEquals; | |
public class BoardTest { | |
@Test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ***************************************************************************** | |
* Name: | |
* Date: | |
* Description: | |
**************************************************************************** */ | |
import org.junit.Test; | |
import static org.junit.Assert.assertEquals; | |
import static org.junit.Assert.assertNotNull; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.junit.Test; | |
import static junit.framework.TestCase.assertEquals; | |
public class PointTest { | |
@Test | |
public void compareTo_whenAandBareSame_shouldReturn0() { | |
// Arrange | |
Point pointA = new Point(0, 0); | |
Point pointB = new Point(0, 0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ***************************************************************************** | |
* Name: | |
* Date: | |
* Description: | |
**************************************************************************** */ | |
import org.junit.Assert; | |
import org.junit.Test; | |
import static junit.framework.TestCase.assertEquals; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.junit.Test; | |
import java.util.Iterator; | |
import java.util.NoSuchElementException; | |
import static junit.framework.TestCase.assertEquals; | |
import static junit.framework.TestCase.assertFalse; | |
import static junit.framework.TestCase.assertNotNull; | |
import static junit.framework.TestCase.assertTrue; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ***************************************************************************** | |
* Name: | |
* Date: | |
* Description: | |
**************************************************************************** */ | |
import org.junit.Test; | |
import java.util.Arrays; | |
import java.util.Iterator; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.junit.Test; | |
import static junit.framework.TestCase.assertEquals; | |
import static junit.framework.TestCase.assertFalse; | |
import static junit.framework.TestCase.assertNotNull; | |
import static junit.framework.TestCase.assertTrue; | |
public class PercolationTest { | |