コード例 #1
0
 public SpecialAbilitiesGenerator(ICollectionsSelector attributesSelector, IPercentileSelector percentileSelector, ISpecialAbilityAttributesSelector specialAbilityAttributesSelector,
                                  IBooleanPercentileSelector booleanPercentileSelector, Dice dice)
 {
     this.attributesSelector = attributesSelector;
     this.percentileSelector = percentileSelector;
     this.specialAbilityAttributesSelector = specialAbilityAttributesSelector;
     this.booleanPercentileSelector        = booleanPercentileSelector;
     this.dice = dice;
 }
コード例 #2
0
 public void Setup()
 {
     mockInnerSelector = new Mock <ICollectionsSelector>();
     selector          = new SpecialAbilityAttributesSelector(mockInnerSelector.Object);
 }