Package modelo

Examples of modelo.Coordenada


  }


  @Test
  public final void testToString() throws ExcepcionCoordenadaErronea {
    Coordenada c = new Coordenada ('D',1);
    Pieza p = new Peon(Color.NEGRO);
    t1.colocaPiezaAt(c, p);
    p = new Peon(Color.BLANCO);
    t1.colocaPiezaAt(new Coordenada('H',2), p);
    String s1 = new String("00000001\n00010000\n");
    assertEquals("ToString",s1,t1.toString());
  }
View Full Code Here

TOP

Related Classes of modelo.Coordenada

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.