Package org.gnubridge.core.bidding

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


    Rebid1NT rule = new Rebid1NT(
        a, new Hand("K,2", "A,3,2", "A,Q,8,6", "K,J,5,3"));
    assertEquals(new Bid(4, Hearts.i()), rule.getBid());

    Auctioneer a2 = new Auctioneer(West.i());
    a2.bid(new Bid(1, NoTrump.i()));
    a2.bid(new Pass());
    a2.bid(new Bid(3, Spades.i()));
    a2.bid(new Pass());
    Rebid1NT triangulate = new Rebid1NT(
        a2, new Hand("A,Q,3", "K,2", "A,8,6,3", "K,J,5,3"));
View Full Code Here


        a, new Hand("K,2", "A,3,2", "A,Q,8,6", "K,J,5,3"));
    assertEquals(new Bid(4, Hearts.i()), rule.getBid());

    Auctioneer a2 = new Auctioneer(West.i());
    a2.bid(new Bid(1, NoTrump.i()));
    a2.bid(new Pass());
    a2.bid(new Bid(3, Spades.i()));
    a2.bid(new Pass());
    Rebid1NT triangulate = new Rebid1NT(
        a2, new Hand("A,Q,3", "K,2", "A,8,6,3", "K,J,5,3"));
    assertEquals(new Bid(4, Spades.i()), triangulate.getBid());
View Full Code Here

    assertEquals(new Bid(4, Hearts.i()), rule.getBid());

    Auctioneer a2 = new Auctioneer(West.i());
    a2.bid(new Bid(1, NoTrump.i()));
    a2.bid(new Pass());
    a2.bid(new Bid(3, Spades.i()));
    a2.bid(new Pass());
    Rebid1NT triangulate = new Rebid1NT(
        a2, new Hand("A,Q,3", "K,2", "A,8,6,3", "K,J,5,3"));
    assertEquals(new Bid(4, Spades.i()), triangulate.getBid());
  }
View Full Code Here

    Auctioneer a2 = new Auctioneer(West.i());
    a2.bid(new Bid(1, NoTrump.i()));
    a2.bid(new Pass());
    a2.bid(new Bid(3, Spades.i()));
    a2.bid(new Pass());
    Rebid1NT triangulate = new Rebid1NT(
        a2, new Hand("A,Q,3", "K,2", "A,8,6,3", "K,J,5,3"));
    assertEquals(new Bid(4, Spades.i()), triangulate.getBid());
  }
View Full Code Here

    assertEquals(new Bid(4, Spades.i()), triangulate.getBid());
  }

  public void testRaiseTo3NTIfDoubletonInColor() {
    Auctioneer a = new Auctioneer(West.i());
    a.bid(new Bid(1, NoTrump.i()));
    a.bid(new Pass());
    a.bid(new Bid(3, Hearts.i()));
    a.bid(new Pass());
    Rebid1NT rule = new Rebid1NT(
        a, new Hand("K,3,2", "A,3", "A,Q,8,6", "K,J,5,3"));
View Full Code Here

  }

  public void testRaiseTo3NTIfDoubletonInColor() {
    Auctioneer a = new Auctioneer(West.i());
    a.bid(new Bid(1, NoTrump.i()));
    a.bid(new Pass());
    a.bid(new Bid(3, Hearts.i()));
    a.bid(new Pass());
    Rebid1NT rule = new Rebid1NT(
        a, new Hand("K,3,2", "A,3", "A,Q,8,6", "K,J,5,3"));
    assertEquals(new Bid(3, NoTrump.i()), rule.getBid());
View Full Code Here

  public void testRaiseTo3NTIfDoubletonInColor() {
    Auctioneer a = new Auctioneer(West.i());
    a.bid(new Bid(1, NoTrump.i()));
    a.bid(new Pass());
    a.bid(new Bid(3, Hearts.i()));
    a.bid(new Pass());
    Rebid1NT rule = new Rebid1NT(
        a, new Hand("K,3,2", "A,3", "A,Q,8,6", "K,J,5,3"));
    assertEquals(new Bid(3, NoTrump.i()), rule.getBid());
  }
View Full Code Here

  public void testRaiseTo3NTIfDoubletonInColor() {
    Auctioneer a = new Auctioneer(West.i());
    a.bid(new Bid(1, NoTrump.i()));
    a.bid(new Pass());
    a.bid(new Bid(3, Hearts.i()));
    a.bid(new Pass());
    Rebid1NT rule = new Rebid1NT(
        a, new Hand("K,3,2", "A,3", "A,Q,8,6", "K,J,5,3"));
    assertEquals(new Bid(3, NoTrump.i()), rule.getBid());
  }
  public void testDoNotRespondIfPartnerDidNotCallAMajorColor() {
View Full Code Here

        a, new Hand("K,3,2", "A,3", "A,Q,8,6", "K,J,5,3"));
    assertEquals(new Bid(3, NoTrump.i()), rule.getBid());
  }
  public void testDoNotRespondIfPartnerDidNotCallAMajorColor() {
    Auctioneer a = new Auctioneer(West.i());
    a.bid(new Bid(1, NoTrump.i()));
    a.bid(new Pass());
    a.bid(new Bid(3, Diamonds.i()));
    a.bid(new Pass());
    Rebid1NT rule = new Rebid1NT(
        a, new Hand("K,3,2", "A,3", "A,Q,8,6", "K,J,5,3"));
View Full Code Here

    assertEquals(new Bid(3, NoTrump.i()), rule.getBid());
  }
  public void testDoNotRespondIfPartnerDidNotCallAMajorColor() {
    Auctioneer a = new Auctioneer(West.i());
    a.bid(new Bid(1, NoTrump.i()));
    a.bid(new Pass());
    a.bid(new Bid(3, Diamonds.i()));
    a.bid(new Pass());
    Rebid1NT rule = new Rebid1NT(
        a, new Hand("K,3,2", "A,3", "A,Q,8,6", "K,J,5,3"));
    assertNull(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.