예제 #1
0
 public ActionSequenceStatisticsSetMock(
     IEnumerable <IActionSequenceStatistic> statistics, IPercentagesCalculator percentagesCalculator)
     : base(percentagesCalculator,
            statistics,
            SomePlayer,
            SomeActionSequence,
            SomeRaisedOrNotRaised)
 {
 }
예제 #2
0
 public HeroCheckOrBetSetStatistics(
     IPercentagesCalculator percentagesCalculator,
     IEnumerable <IActionSequenceStatistic> statistics,
     string playerName,
     Streets street,
     bool inPosition)
     : base(percentagesCalculator, statistics, playerName, street, ActionSequences.HeroActs, inPosition)
 {
 }
예제 #3
0
 protected virtual IActionSequenceStatisticsSet NewHeroCheckOrBetSetStatistics(
     IPercentagesCalculator percentagesCalculator,
     IEnumerable <IActionSequenceStatistic> statistics,
     string playerName,
     Streets street,
     bool inPosition)
 {
     return(new HeroCheckOrBetSetStatistics(percentagesCalculator, statistics, playerName, street, inPosition));
 }
예제 #4
0
 protected override IActionSequenceStatisticsSet NewHeroCheckOrBetSetStatistics(
     IPercentagesCalculator percentagesCalculator,
     IEnumerable <IActionSequenceStatistic> statistics,
     string playerName,
     Streets street,
     bool inPosition)
 {
     return(_stub.Out <IActionSequenceStatisticsSet>());
 }
예제 #5
0
 /// <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;
 }
예제 #6
0
 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));
 }
예제 #7
0
 /// <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;
 }
예제 #8
0
 public void _Init()
 {
     _sut = new SeparateRowsPercentagesCalculator();
 }
예제 #9
0
 public void _Init()
 {
     _sut = new AcrossRowsPercentagesCalculator();
 }