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