Package model

Examples of model.Loro



public class dbLoros {
    public ArrayList simulaDataLoros(){
        ArrayList<Loro> Loros = new ArrayList<Loro>();
        Loro Loro1 = new Loro("L01", "Loro Rojo", 56.00, "Lorous");
        Loro Loro2 = new Loro("L02", "Loro Verde", 31.00, "Lorous Rarus");
        Loro Loro3 = new Loro("L03", "Loro Amarillo", 46.00, "Lorous Bonitus");
        Loros.add(Loro1);
        Loros.add(Loro2);
        Loros.add(Loro3);
        return Loros;
    }
View Full Code Here


    public void loroDebeReconocerComportamientoDeAve(){
        String codigo = "LO001";
        String nombre = "Loro";
        double precio = 100.00;
        String nombreCientifico = "Lorus";
        IAve loro = new Loro(codigo,nombre,precio,nombreCientifico);
        loro.volar();
        loro.cantar();
        String retornado = loro.getNombreCientifico();
        Assert.assertEquals(nombreCientifico,retornado);
    }
View Full Code Here

TOP

Related Classes of model.Loro

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.