Ejemplo n.º 1
0
  @Test
  public void newBoardDoesSomething() {
    boolean test = false;

    try {
      round.getTypeAt(0, 0);
      test = true;
    } catch (Exception e) {

    }

    assertEquals(true, test);
  }
Ejemplo n.º 2
0
 @Test
 public void typesAreNotJustZeroes2() {
   assertEquals(
       true,
       round.getTypeAt(1, 0) != 0 || round.getTypeAt(1, 1) != 0 || round.getTypeAt(1, 2) != 0);
 }
Ejemplo n.º 3
0
 @Test
 public void typesAreNotJustOnes() {
   assertEquals(
       true,
       round.getTypeAt(0, 0) != 1 || round.getTypeAt(0, 1) != 1 || round.getTypeAt(0, 2) != 1);
 }