public void DoubleOneClubIsGreaterThanOneClub() { BidTrumph oneClub = new BidTrumph(TrumphSuite.Clubs, 1); BidDouble bidDouble = new BidDouble(oneClub); Assert.IsTrue(oneClub.IsHigherBid(bidDouble)); Assert.IsFalse(bidDouble.IsHigherBid(oneClub)); }
/// <summary> /// Initializes a new instance of the <see cref="BidReDouble"/> class. /// </summary> /// <param name="previousBid">The previous bid.</param> public BidReDouble(BidDouble previousBid) : base(BidType.Redouble) { if (previousBid == null) { throw new ArgumentNullException("previousBid"); } this.Doubled = previousBid; }