public void TestAuctions4Diamond(string testName, string northHand, string southHand, string expectedBidsNorth, string expectedBidsSouth) { SetupTest.setupTest(testName, logger); var bidManager = new BidManager(new BidGeneratorDescription(), fasesWithOffset, reverseDictionaries, (auction, northHand, sourceInformation) => { return(BidManager.RelayBidKind.fourDiamondEndSignal); }); var auction = bidManager.GetAuction(northHand, southHand); AssertMethods.AssertAuction(expectedBidsNorth, expectedBidsSouth, auction); }
public void TestAuctions3NT(string testName, string northHand, string southHand, string expectedBidsNorth, string expectedBidsSouth) { SetupTest.setupTest(testName, logger); var bidManager = new BidManager(new BidGeneratorDescription(), fasesWithOffset, reverseDictionaries, false); var auction = bidManager.GetAuction(northHand, southHand); AssertMethods.AssertAuction(expectedBidsNorth, expectedBidsSouth, auction); }