Package org.gnubridge.core.bidding

Examples of org.gnubridge.core.bidding.Auctioneer.bid()


    assertEquals(THREE_DIAMONDS, rule.getBid());
  }

  public void testJumpRaisePartnerWith12To14PointsAnd3Trumps() {
    Auctioneer a = new Auctioneer(West.i());
    a.bid(ONE_CLUBS);
    a.bid(ONE_DIAMONDS);
    a.bid(PASS);
    RespondOvercallSuit rule = new RespondOvercallSuit(a, new Hand("A,9,8,7", "K,3,2", "A,J,9", "9,5,4"));
    assertEquals(THREE_DIAMONDS, rule.getBid());
  }
View Full Code Here


  }

  public void testJumpRaisePartnerWith12To14PointsAnd3Trumps() {
    Auctioneer a = new Auctioneer(West.i());
    a.bid(ONE_CLUBS);
    a.bid(ONE_DIAMONDS);
    a.bid(PASS);
    RespondOvercallSuit rule = new RespondOvercallSuit(a, new Hand("A,9,8,7", "K,3,2", "A,J,9", "9,5,4"));
    assertEquals(THREE_DIAMONDS, rule.getBid());
  }
View Full Code Here

  public void testJumpRaisePartnerWith12To14PointsAnd3Trumps() {
    Auctioneer a = new Auctioneer(West.i());
    a.bid(ONE_CLUBS);
    a.bid(ONE_DIAMONDS);
    a.bid(PASS);
    RespondOvercallSuit rule = new RespondOvercallSuit(a, new Hand("A,9,8,7", "K,3,2", "A,J,9", "9,5,4"));
    assertEquals(THREE_DIAMONDS, rule.getBid());
  }

  public void testRaiseToGameWith15PointsAnd3TrumpsMajorSuit() {
View Full Code Here

    assertEquals(THREE_DIAMONDS, rule.getBid());
  }

  public void testRaiseToGameWith15PointsAnd3TrumpsMajorSuit() {
    Auctioneer a = new Auctioneer(West.i());
    a.bid(ONE_CLUBS);
    a.bid(ONE_HEARTS);
    a.bid(PASS);
    RespondOvercallSuit rule = new RespondOvercallSuit(a, new Hand("A,K,8,7", "K,3,2", "A,J,9", "9,5,4"));
    assertEquals(FOUR_HEARTS, rule.getBid());
  }
View Full Code Here

  }

  public void testRaiseToGameWith15PointsAnd3TrumpsMajorSuit() {
    Auctioneer a = new Auctioneer(West.i());
    a.bid(ONE_CLUBS);
    a.bid(ONE_HEARTS);
    a.bid(PASS);
    RespondOvercallSuit rule = new RespondOvercallSuit(a, new Hand("A,K,8,7", "K,3,2", "A,J,9", "9,5,4"));
    assertEquals(FOUR_HEARTS, rule.getBid());
  }
View Full Code Here

  public void testRaiseToGameWith15PointsAnd3TrumpsMajorSuit() {
    Auctioneer a = new Auctioneer(West.i());
    a.bid(ONE_CLUBS);
    a.bid(ONE_HEARTS);
    a.bid(PASS);
    RespondOvercallSuit rule = new RespondOvercallSuit(a, new Hand("A,K,8,7", "K,3,2", "A,J,9", "9,5,4"));
    assertEquals(FOUR_HEARTS, rule.getBid());
  }

  public void testRaiseTo4LevelWith15PointsAnd3TrumpsMinorSuit() {
View Full Code Here

    assertEquals(FOUR_HEARTS, rule.getBid());
  }

  public void testRaiseTo4LevelWith15PointsAnd3TrumpsMinorSuit() {
    Auctioneer a = new Auctioneer(West.i());
    a.bid(ONE_CLUBS);
    a.bid(ONE_DIAMONDS);
    a.bid(PASS);
    RespondOvercallSuit rule = new RespondOvercallSuit(a, new Hand("A,K,8,7", "K,3,2", "A,J,9", "9,5,4"));
    assertEquals(FOUR_DIAMONDS, rule.getBid());
  }
View Full Code Here

  }

  public void testRaiseTo4LevelWith15PointsAnd3TrumpsMinorSuit() {
    Auctioneer a = new Auctioneer(West.i());
    a.bid(ONE_CLUBS);
    a.bid(ONE_DIAMONDS);
    a.bid(PASS);
    RespondOvercallSuit rule = new RespondOvercallSuit(a, new Hand("A,K,8,7", "K,3,2", "A,J,9", "9,5,4"));
    assertEquals(FOUR_DIAMONDS, rule.getBid());
  }
View Full Code Here

  public void testRaiseTo4LevelWith15PointsAnd3TrumpsMinorSuit() {
    Auctioneer a = new Auctioneer(West.i());
    a.bid(ONE_CLUBS);
    a.bid(ONE_DIAMONDS);
    a.bid(PASS);
    RespondOvercallSuit rule = new RespondOvercallSuit(a, new Hand("A,K,8,7", "K,3,2", "A,J,9", "9,5,4"));
    assertEquals(FOUR_DIAMONDS, rule.getBid());
  }

  public void testReallyJumpRaisePartnerWith12To14PointsAnd3Trumps() {
View Full Code Here

    assertEquals(FOUR_DIAMONDS, rule.getBid());
  }

  public void testReallyJumpRaisePartnerWith12To14PointsAnd3Trumps() {
    Auctioneer a = new Auctioneer(West.i());
    a.bid(ONE_CLUBS);
    a.bid(TWO_DIAMONDS);
    a.bid(PASS);
    RespondOvercallSuit rule = new RespondOvercallSuit(a, new Hand("A,9,8,7", "K,3,2", "A,J,9", "9,5,4"));
    assertEquals(FOUR_DIAMONDS, rule.getBid());
  }
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.