Package pdp.scrabble.game

Examples of pdp.scrabble.game.Bag.fill()


     * @param args
     */
    public static void main(String[] args) {
  Bag bag = Factory.FACTORY.createBag();
  bag.initWithLanguage("Francais");
  bag.fill();
  Rack r = new RackImplNew(bag);
  r.fill();
  RackView view = new RackView(r);
  RackController ctrl = new RackController(view);
  JFrame frame = new JFrame("test de Rack");
View Full Code Here


  catch (NullPointerException e) {
      fail("NullPointerException was not expected");
  }

  try {
      bag.fill();
      System.out.println("Fill bag");
  }
  catch (ArrayIndexOutOfBoundsException e) {
      fail("ArrayIndexOutOfBoundsException was not expected");
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.