public ActionSequenceStatisticsSetMock( IEnumerable <IActionSequenceStatistic> statistics, IPercentagesCalculator percentagesCalculator) : base(percentagesCalculator, statistics, SomePlayer, SomeActionSequence, SomeRaisedOrNotRaised) { }
public HeroCheckOrBetSetStatistics( IPercentagesCalculator percentagesCalculator, IEnumerable <IActionSequenceStatistic> statistics, string playerName, Streets street, bool inPosition) : base(percentagesCalculator, statistics, playerName, street, ActionSequences.HeroActs, inPosition) { }
protected virtual IActionSequenceStatisticsSet NewHeroCheckOrBetSetStatistics( IPercentagesCalculator percentagesCalculator, IEnumerable <IActionSequenceStatistic> statistics, string playerName, Streets street, bool inPosition) { return(new HeroCheckOrBetSetStatistics(percentagesCalculator, statistics, playerName, street, inPosition)); }
protected override IActionSequenceStatisticsSet NewHeroCheckOrBetSetStatistics( IPercentagesCalculator percentagesCalculator, IEnumerable <IActionSequenceStatistic> statistics, string playerName, Streets street, bool inPosition) { return(_stub.Out <IActionSequenceStatisticsSet>()); }
/// <summary> /// Initializes a new instance of the <see cref="ActionSequenceStatisticsSet"/> class. /// Creates instance of ActionSequenceStatisticsSet. /// Use for PreFlop Statistics only /// </summary> /// <param name="percentagesCalculator"> /// </param> /// <param name="statistics"> /// </param> /// <param name="playerName"> /// <see cref="IActionSequenceStatisticsSet.PlayerName"/> /// </param> /// <param name="actionSequence"> /// <see cref="IActionSequenceStatisticsSet.ActionSequence"/> /// </param> /// <param name="raisedPot"> /// <see cref="IActionSequenceStatisticsSet.RaisedPot"/> /// </param> public ActionSequenceStatisticsSet( IPercentagesCalculator percentagesCalculator, IEnumerable <IActionSequenceStatistic> statistics, string playerName, ActionSequences actionSequence, bool raisedPot) : this(percentagesCalculator, statistics, playerName, Streets.PreFlop, actionSequence, false) { RaisedPot = raisedPot; }
protected virtual IActionSequenceStatisticsSet NewPreflopActionSequenceSetStatistics( IPercentagesCalculator percentagesCalculator, IEnumerable <IActionSequenceStatistic> actionSequenceStatistics, string playerName, bool raisedPot) { return(new ActionSequenceStatisticsSet( percentagesCalculator, actionSequenceStatistics, playerName, raisedPot ? ActionSequences.PreFlopFrontRaise : ActionSequences.PreFlopNoFrontRaise, raisedPot)); }
/// <summary> /// Initializes a new instance of the <see cref="ActionSequenceStatisticsSet"/> class. /// Creates instance of ActionSequenceStatisticsSet. /// Use for PostFlop Statistics only /// </summary> /// <param name="percentagesCalculator"> /// </param> /// <param name="statistics"> /// </param> /// <param name="playerName"> /// <see cref="IActionSequenceStatisticsSet.PlayerName"/> /// </param> /// <param name="street"> /// <see cref="IActionSequenceStatisticsSet.Street"/> /// </param> /// <param name="actionSequence"> /// <see cref="IActionSequenceStatisticsSet.ActionSequence"/> /// </param> /// <param name="inPosition"> /// <see cref="IActionSequenceStatisticsSet.InPosition"/> /// </param> public ActionSequenceStatisticsSet( IPercentagesCalculator percentagesCalculator, IEnumerable <IActionSequenceStatistic> statistics, string playerName, Streets street, ActionSequences actionSequence, bool inPosition) { _percentagesCalculator = percentagesCalculator; _statistics = statistics; ActionSequence = actionSequence; PlayerName = playerName; Street = street; InPosition = inPosition; }
public void _Init() { _sut = new SeparateRowsPercentagesCalculator(); }
public void _Init() { _sut = new AcrossRowsPercentagesCalculator(); }