public class Respond1ColorWithNewSuitTest extends TestCase {
public void testRespond1Color() {
Auctioneer a = new Auctioneer(West.i());
a.bid(new Bid(1, Diamonds.i()));
a.bid(new Pass());
Respond1ColorWithNewSuit rule = new Respond1ColorWithNewSuit(a, new Hand("K,3,2", "K,5,4,3", "9,8,6", "5,4,3"));
assertEquals(new Bid(1, Hearts.i()), rule.getBid());
Respond1ColorWithNewSuit triangulate = new Respond1ColorWithNewSuit(a, new Hand("K,4,3,2", "K,5,4", "9,8,6",
"5,4,3"));
assertEquals(new Bid(1, Spades.i()), triangulate.getBid());