text
stringlengths
3
1.18M
package Controlador; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import Modelo.MAccion; import Modelo.MPedido; import Vistas.VPedido; public class CPedido implements ActionListener{ public VPedido vPedido; public MPedido mpedido; public MAccion maccion; public CPedido(VP...
package Controlador; import java.awt.event.ActionEvent; import Modelo.MAccion; import java.awt.event.ActionListener; import javax.swing.JFrame; import javax.swing.JOptionPane; import Modelo.MCategoria; import Vistas.VCategoria; public class CCategoria implements ActionListener{ public VCategoria vCate...
package Vistas; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.HeadlessException; import java.sql.ResultSet; import java.sql.SQLException; import javax.swing.JFrame; import javax.swing.JScrollPane; import javax.swing.JTable; import Modelo.MTablaVentas; public class VistaRepor...
package Vistas; import javax.swing.*; import java.awt.*; import Controlador.CCliente; public class VCliente extends JFrame{ private static final long serialVersionUID = 1L; private JLabel lblCedCli,lblNomCli,lblApeCli,lblTelCli,lblDirCli,lblTitulo; private JTextField txtCedCli,txtNomCli,tx...
package Vistas; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.HeadlessException; import java.sql.ResultSet; import java.sql.SQLException; import javax.swing.JFrame; import javax.swing.JScrollPane; import javax.swing.JTable; import Modelo.MTablaIngredientes; import Modelo.MAccion;;...
package Vistas; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.HeadlessException; import java.sql.ResultSet; import java.sql.SQLException; import javax.swing.JFrame; import javax.swing.JScrollPane; import javax.swing.JTable; import Modelo.ModeloTabla; public class VistaReportes...
package Vistas; import javax.swing.*; import java.awt.*; import Controlador.CCompra; public class VCompra extends JFrame{ private static final long serialVersionUID = 1L; private JLabel lblCodCom,lblCanCom,lblTitulo; private JTextField txtCodCom,txtCanCom; private JButton btnAgrCom...
package Modelo; import java.sql.*; public class Conexion { // La descripcion del driver de la BD private static String driver = "org.postgresql.Driver"; // La direccion URL de la BD private static String url = "jdbc:postgresql://localhost:5432/"; // El nombre de la BD priv...
package Modelo; import java.util.Vector; public class MOrden { private int codigoord; private int cedulacli; private String fecha; private float montototal; Vector<MPedido> pedidos; public MOrden() { super(); } public MOrden(int codigoord,int cedulacli,String fecha,float montototal) { ...
package Modelo; import javax.swing.table.AbstractTableModel; public class MTablaIngredientes extends AbstractTableModel { private static final long serialVersionUID = 1L; public String []nombreCol={"Ingrediente","Productos donde es usado"}; MAccion accion=new MAccion(); int i=accion.contarIngrediente(); ...
package Modelo; public class MCliente { private int Cedula; private String Nombre; private String Apellido; private String telefono; private String direccion; public MCliente() { super(); } public MCliente(int cedula, String nombre, String apellido, String telefono, String direccion...
package Modelo; public class MCategoria { private int codigocat; private String descripcion; public MCategoria() { super(); } public MCategoria(int codigocat, String descripcion) { super(); this.codigocat = codigocat; this.descripcion = descripcion; } public int getCodigocat() { ...
package Modelo; public class MIngrediente { private int codigoin; private String descripcion; private float existencia; private float stock_max; private float stock_min; public MIngrediente() { super(); } public MIngrediente(int codigoin, String descripcion, float existencia, float ...
package Modelo; public class MProducto { private int codigop; private int codigocat; private String descripcion; private float preciouni; private String estatus; public MProducto() { super(); } public MProducto(int codigop, int codigocat, String descripcion, float preciouni, String esta...
package Modelo; import javax.swing.table.AbstractTableModel; public class ModeloTabla extends AbstractTableModel{ private static final long serialVersionUID = 1L; final String []nombreCol={"Codigo","Ingrediente","Cantidad"}; MAccion maccion= new MAccion(); Object [][] valoresCol=new Object[maccion.cont...
package Modelo; public class MDetalleCompra { private int codigocom; private int codigoin; private int cantidad; private float costo; public MDetalleCompra(int codigocom, int codigoin, int cantidad, float costo) { super(); this.codigocom = codigocom; this.codigoin = codigoin; this.cantidad = ca...
package Modelo; public class MReceta { private int codigop; private int codigoin; private float cantidad; public MReceta() { super(); } public MReceta(int codigop, int codigoin, float cantidad) { super(); this.codigop = codigop; this.codigoin = codigoin; this.cantidad = cantidad; ...
package Modelo; public class MPedido{ private int codigoord; private int codigop; private int cantidad; public MPedido() { super(); } public MPedido(int codigoord, int codigop, int cantidad) { super(); this.codigoord = codigoord; this.codigop = codigop; this.cantidad = cantidad; } ...
package Modelo; import java.sql.ResultSet; import java.sql.SQLException; //import java.util.List; import java.util.ArrayList; import java.util.List; import java.util.Vector; public class MAccion { public MAccion() { super(); } //**********************************CATEGORIA**********************...
package Modelo; import javax.swing.table.AbstractTableModel; public class MTablaVentas extends AbstractTableModel { private static final long serialVersionUID = 1L; public String []nombreCol={"Producto","Cantidad","Monto"}; MAccion maccion=new MAccion(); int i=maccion.obtenerCantidadProductoVendidos(); Obje...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ import java.util.Vector; /** * */ public interface EvaluarEstudiantes { public void EvaluarEstudiantes(Vector<Estudiante> estudiante); }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package proyectolabi; import Clases.Menu; /** * * @author Mariant */ public class Main { /** * @param args the command line arguments */ public static void main(String[] args) { // TODO c...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ import java.io.FileWriter; import java.io.PrintWriter; import java.util.Collections; import java.util.Vector; /** * */ public class Seccion { String numeroSeccion; Profesor profesor; Vector<Estudiante> estudiante...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * */ public interface PresentarEvaluaciones { public void PresentarEvaluacion(); }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ import java.util.Vector; /** * */ public class Profesor implements EvaluarEstudiantes { private String cedula,nombre,apellido,tituloAcademico; public Profesor(String nombre,String apellido,String cedula...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ import java.util.Random; /** * */ public class Estudiante implements PresentarEvaluaciones{ private String cedula,nombre,apellido,estado; private int nota1,nota2,nota3,notaFinal; public Estudiante(Strin...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { /** * @param args the command line arguments */ public static void main(String[] args)...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Clases; /* * To change this template, choose Tools | Templates * and open the template in the editor. */ public interface Evaluar { public abstract void evaluarEstudiante(Estudiante estudiante); }
package Clases; import java.awt.Frame; import javax.swing.JOptionPane; /* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * AsignarSeccion.java * * Created on 16/02/2011, 09:09:34 AM */ /** * * @author Mariant */ public class AsignarSeccion extends javax.swi...
package Clases; import Clases.Estudiante; import Clases.Profesor; import Clases.Seccion; import java.awt.Frame; import javax.swing.JOptionPane; /* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * Menu.java * * Created on 16/02/2011, 09:01:08 AM */ /** * * @...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Clases; /* * To change this template, choose Tools | Templates * and open the template in the editor. */ public interface Presentar { public abstract void presentarEvaluacion(); }
package Clases; import Clases.Estudiante; import java.awt.Frame; import java.text.NumberFormat; import javax.swing.JFormattedTextField; import javax.swing.JOptionPane; /* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * InscribirEstudiante.java * * Created on 1...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Clases; /* * To change this template, choose Tools | Templates * and open the template in the editor. */ import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOExce...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Clases; /* * To change this template, choose Tools | Templates * and open the template in the editor. */ import java.awt.Menu; import java.io.BufferedReader; import java.io.IOException; import java.io.Input...
package Clases; import Clases.Profesor; import java.awt.Frame; import javax.swing.JOptionPane; /* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * AsignarProfesor.java * * Created on 16/02/2011, 10:00:16 AM */ /** * * @author Mariant */ public class Asignar...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Clases; import java.util.Comparator; class ComparadorCedula implements Comparator { public int compare(Object o1, Object o2) { String cedula, cedula2; cedula = ((Estudiante)o1).getCedula()...
package Clases; import java.io.IOException; import java.util.Collections; import java.util.logging.Level; import java.util.logging.Logger; /* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * ListadoPromedio.java * * */ public class ListadoPromedio extends javax...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Clases; /* * To change this template, choose Tools | Templates * and open the template in the editor. */ public abstract class Persona { private String nombre; private String apellido; private ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Clases; /* * To change this template, choose Tools | Templates * and open the template in the editor. */ import java.util.Vector; public class Estudiante extends Persona implements Presentar { private...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Clases; /* * To change this template, choose Tools | Templates * and open the template in the editor. */ import java.util.Comparator; class ComparadorNotaFinal implements Comparator{ public int compa...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Clases; import java.io.IOException; /** * */ public class Main2 { public static void main(String[] ar...
package com.seablack.android.game.framework; public interface Audio { public Music newMusic(String fileName); public Sound newSound(String fileName); }
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
package com.simonbuckle.ant.tasks; import java.io.*; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.DirectoryScanner; import org.apache.tools.ant.Project; import org.apache.tools.ant.Task; import org.apache.tools.an...
import org.junit.runner.RunWith; import org.junit.runners.Suite; import world.CompositeTest; import world.DungeonTest; import world.LevelTest; import world.ShaftTest; import world.edges.BorderTest; import world.square.RockTest; import world.square.SquareTest; import world.square.TeleportationTest; import wo...
package exceptions; public class IllegalDungeonPlacementException extends RuntimeException { private static final long serialVersionUID = -2043623328051279915L; }
package exceptions; public class IllegalPositionException extends Exception { private static final long serialVersionUID = -4745126470721696553L; }
package exceptions; public class IllegalSquarePlacementException extends RuntimeException { private static final long serialVersionUID = -8966066459549625950L; }
import java.math.BigDecimal; import java.util.ArrayList; import java.util.Iterator; import world.Composite; import world.Level; import world.Shaft; import world.conditions.ConditionAtLeast200Celcius; import world.edges.Border; import world.edges.Door; import world.edges.Wall; import world.placement.Directio...
package world; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.math.BigDecimal; import org.junit.BeforeClass; import org.junit.Test; import exceptions.IllegalPositionException; import world.conditions.ConditionAtLeast2...
package world.conditions; import java.math.BigDecimal; import world.square.Rock; import world.square.Square; import world.square.TemperatureScale; /** * A condition which checks whether a square has a temperature of at least 200 degrees celcius. * * @author Frederic Mes, Wim Marynissen * @version 1.0 */ public...
package world.conditions; import world.square.Square; /** * An interface for a condition a square needs to fulfill. * * @author Frederic Mes, Wim Marynissen * @version 1.0 */ public interface Condition { /** * Check if the square satisfies the given condition. * @param square * The square to be che...
package world; import java.math.BigDecimal; import java.math.RoundingMode; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import world.conditions.Condition; import world.edges.Border; import world.edges.Wall; im...
package world; import world.square.*; /** * Observing class. Part of the ObjectObserver pattern. * @author Frederic Mes, Wim Marynissen * @version 1.0 */ public interface Observer { /** * Update a subject. * @param subject * Subject to be updated. */ public void update(Subject subject); }
package world.edges; /** * Class representing a border element. * * @author Frederic Mes, Wim Marynissen * @version 1.0 */ public abstract class BorderElement { /** * Check if this element is an obstacle. * @return False if the border element is non-effective * | if (expression == null) * |...
package world.edges; import exceptions.IllegalSquarePlacementException; import be.kuleuven.cs.som.annotate.Basic; import be.kuleuven.cs.som.annotate.Raw; import world.placement.Direction; import world.square.Square; /** * Class representing the border of a square * * @invar The bordering square is valid. * ...
package world.edges; import static org.junit.Assert.*; import org.junit.After; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import world.placement.Direction; import world.square.Square; /** * Test class for borders. */ public class BorderTest { public static Squ...
package world.edges; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import be.kuleuven.cs.som.annotate.Basic; import world.Observer; import world.square.Subject; /** * Class representing a door on a border * * @author Wim Marynissen, Frederic Mes * @version 1.0 */ public class D...
package world.edges; import be.kuleuven.cs.som.annotate.Basic; /** * Class representing a wall on a border * * @author Frederic Mes, Wim Marynissen * @version 1.0 */ public class Wall extends BorderElement{ /** * Construct a wall. * * @param isSlippery * Indicates if the wall is made of slip...
package world; import java.util.ArrayList; import java.util.Iterator; import java.util.NoSuchElementException; import be.kuleuven.cs.som.annotate.Basic; import be.kuleuven.cs.som.annotate.Immutable; import world.edges.Door; import world.placement.*; import world.square.*; /** * A class representing a Shaft (scha...
package world.placement; /** * Enumeration class representing different directions of a square. * * @version 1.0 * @author Wim Marynissen, Frederic Mes */ public enum Direction { NORTH, EAST, SOUTH, WEST, CEILING, FLOOR; /** * Get the opposite direction. * * @return The opposite direction of this d...
package world.placement; /** * A class representing a certain position in a coordinate system. * * @author Frederic Mes, Wim Marynissen * @version 1.0 */ public class Position { /** * @param xCoord * The x-direction coordinate value. * @param yCoord * The y-direction coordinate value. * @par...
package world; import static org.junit.Assert.*; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import world.edges.Border; import world.edges.Door; import world.placement.Direction; import world.placement.Position; import world.square.Rock; import world.square.Square; public class Sh...
package world; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.NoSuchElementException; import world.placement.Position; import world.square.Square; import be.kuleuven.cs.som.annotate.Basic; import exceptions.IllegalDungeonP...
package world; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.math.BigDecimal; import java.util.ArrayList; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import world.edges.Border; import w...
package world; import java.util.ArrayList; import java.util.Iterator; import java.util.NoSuchElementException; import be.kuleuven.cs.som.annotate.*; import world.placement.Position; import world.square.*; /** * A class representing a level (plateau). * @param <S> * The type parameter, which is a square. * ...
package world.square; import java.math.BigDecimal; import world.edges.Border; import world.edges.Door; import world.edges.Wall; import world.placement.Direction; import be.kuleuven.cs.som.annotate.Model; import be.kuleuven.cs.som.annotate.Raw; /** * Class representing a transparent square. * A transparent square ...
package world.square; import static org.junit.Assert.*; import java.math.BigDecimal; import org.junit.Test; public class TemperatureScaleTest { @Test public void getSymbol_CELCIUS() { assertEquals('C',TemperatureScale.CELCIUS.getScaleSymbol()); } @Test public void getSymbol_KELVIN() { ...
package world.square; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.math.BigDecimal; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import world.edges.Border; import world.edges.Door; import world.edges.Wall; import wo...
package world.square; import java.util.List; /** * Interfaces for squares which support teleportation to a different square. * * @invar Each possible destination must be valid. * | for each destination in getDestinations(): * | isValidDestination(destination) * * @author Frede...
package world.square; import java.math.BigDecimal; import java.math.RoundingMode; import be.kuleuven.cs.som.annotate.Basic; import be.kuleuven.cs.som.annotate.Immutable; import be.kuleuven.cs.som.annotate.Raw; import be.kuleuven.cs.som.annotate.Value; /** * Enumeration class representing different temp...
package world.square; import static org.junit.Assert.*; import java.math.BigDecimal; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import world.edges.Border; import world.edges.Wall; import world.placement.Direction; public class SquareTest { private static Square st...
package world.square; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; import java.util.Random; import be.kuleuven.cs.som.annotate.Basic; import be.kuleuven.cs.som.annotate.Raw; /** * Class representing a transparent teleportation square. * * @author Frederic Mes, Wim ...
package world.square; import static org.junit.Assert.*; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import world.placement.Direction; public class TeleportationTe...
package world.square; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.math.BigDecimal; import org.junit.BeforeClass; import org.junit.Test; public class TemperatureTest { private static Temperature testTempe...
package world.square; import java.math.BigDecimal; import java.math.MathContext; import java.math.RoundingMode; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import world.Observer; import world.edges.Border; import world.edges.Door; import world.edges.Wall; import world.placement.Direc...
package world.square; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; import java.util.Random; import be.kuleuven.cs.som.annotate.Basic; import be.kuleuven.cs.som.annotate.Raw; import world.placement.Direction; /** * Class representing a teleportation square. * * ...