Rebid1ColorWithNewSuit rule = new Rebid1ColorWithNewSuit(a, new Hand("9,8", "K,Q,J,2", "K,Q,J,3,2", "J,2"));
assertEquals(new Bid(2, Diamonds.i()), rule.getBid());
}
public void testJumpShiftTo2LevelAt19Points() {
Auctioneer a = new Auctioneer(West.i());
a.bid(new Bid(1, Clubs.i()));
a.bid(new Pass());
a.bid(new Bid(1, Diamonds.i()));
a.bid(new Pass());
Rebid1ColorWithNewSuit rule = new Rebid1ColorWithNewSuit(a, new Hand("K,Q,J,2", "A,2", "Q,8", "A,K,5,4,3"));
assertEquals(new Bid(2, Spades.i()), rule.getBid());
assertTrue(rule.getBid().isGameForcing());
}