Package org.gnubridge.core.bidding

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


  }

  public void testBidNoTrumpCheapestLevelWith8PointsAndStopperInEnemySuit() {
    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,10,9,8", "9,4,3,2", "J,9", "K,5,4"));
    assertEquals(TWO_NOTRUMP, rule.getBid());
  }
View Full Code Here


  public void testBidNoTrumpCheapestLevelWith8PointsAndStopperInEnemySuit() {
    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,10,9,8", "9,4,3,2", "J,9", "K,5,4"));
    assertEquals(TWO_NOTRUMP, rule.getBid());
  }

  public void testJumpBidNoTrumpWith12PointsAndStopperInEnemySuit() {
View Full Code Here

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

  public void testJumpBidNoTrumpWith12PointsAndStopperInEnemySuit() {
    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,10,9,8", "A,4,3,2", "J,9", "K,5,4"));
    assertEquals(TWO_NOTRUMP, rule.getBid());
  }
View Full Code Here

  }

  public void testJumpBidNoTrumpWith12PointsAndStopperInEnemySuit() {
    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,10,9,8", "A,4,3,2", "J,9", "K,5,4"));
    assertEquals(TWO_NOTRUMP, rule.getBid());
  }
View Full Code Here

  public void testJumpBidNoTrumpWith12PointsAndStopperInEnemySuit() {
    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,10,9,8", "A,4,3,2", "J,9", "K,5,4"));
    assertEquals(TWO_NOTRUMP, rule.getBid());
  }

  public void testJumpHigherBidNoTrumpWith12PointsAndStopperInEnemySuit() {
View Full Code Here

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

  public void testJumpHigherBidNoTrumpWith12PointsAndStopperInEnemySuit() {
    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,10,9,8", "A,4,3,2", "J,9", "K,5,4"));
    assertEquals(THREE_NOTRUMP, rule.getBid());
  }
View Full Code Here

  }

  public void testJumpHigherBidNoTrumpWith12PointsAndStopperInEnemySuit() {
    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,10,9,8", "A,4,3,2", "J,9", "K,5,4"));
    assertEquals(THREE_NOTRUMP, rule.getBid());
  }
View Full Code Here

  public void testJumpHigherBidNoTrumpWith12PointsAndStopperInEnemySuit() {
    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,10,9,8", "A,4,3,2", "J,9", "K,5,4"));
    assertEquals(THREE_NOTRUMP, rule.getBid());
  }

  public void testBidGameNoTrumpWith15PointsAndStopperInEnemySuit() {
View Full Code Here

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

  public void testBidGameNoTrumpWith15PointsAndStopperInEnemySuit() {
    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,9,8", "A,4,3,2", "J,9", "K,5,4"));
    assertEquals(THREE_NOTRUMP, rule.getBid());
  }
View Full Code Here

  }

  public void testBidGameNoTrumpWith15PointsAndStopperInEnemySuit() {
    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,9,8", "A,4,3,2", "J,9", "K,5,4"));
    assertEquals(THREE_NOTRUMP, 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.