Beispiel #1
0
  /** Test of askIsOffence method, of class Player. */
  @Test
  public void testAskIsOffence() {
    System.out.println("askIsOffence");

    PlayerInfo pManning = new PlayerInfo("Peyton Manning", 18);
    int[] alkupaikka1 = {5, 5};
    RouteRunner testiOff = new RouteRunner(alkupaikka1, "879987", "Q");
    Player qb = new Player(pManning, testiOff);

    Player instance = qb;
    boolean expResult = true;
    boolean result = instance.askIsOffence();
    assertEquals(expResult, result);
  }