[Fix] Naming
This commit is contained in:
@@ -18,12 +18,12 @@ namespace YachtDice.Tests
|
||||
private ModifierPipeline pipeline;
|
||||
|
||||
// Тестовые категории
|
||||
private CategoryDefinitionSO chanceCategory;
|
||||
private CategoryDefinitionSO fullHouseCategory;
|
||||
private CategoryDefinitionSO onesCategory;
|
||||
private CategoryDefinitionSO threesCategory;
|
||||
private CategoryDefinitionSO foursCategory;
|
||||
private CategoryDefinitionSO sixesCategory;
|
||||
private CategoryDefinition chanceCategory;
|
||||
private CategoryDefinition fullHouseCategory;
|
||||
private CategoryDefinition onesCategory;
|
||||
private CategoryDefinition threesCategory;
|
||||
private CategoryDefinition foursCategory;
|
||||
private CategoryDefinition sixesCategory;
|
||||
|
||||
[SetUp]
|
||||
public void SetUp()
|
||||
@@ -32,12 +32,12 @@ namespace YachtDice.Tests
|
||||
pipeline = new ModifierPipeline(registry);
|
||||
pipeline.TracingEnabled = false;
|
||||
|
||||
chanceCategory = SumAllCategorySO.CreateForTest("chance", "Шанс");
|
||||
fullHouseCategory = FullHouseCategorySO.CreateForTest("full_house", "Фулл-хаус");
|
||||
onesCategory = SumOfValueCategorySO.CreateForTest("ones", "Единицы", 1);
|
||||
threesCategory = SumOfValueCategorySO.CreateForTest("threes", "Тройки", 3);
|
||||
foursCategory = SumOfValueCategorySO.CreateForTest("fours", "Четвёрки", 4);
|
||||
sixesCategory = SumOfValueCategorySO.CreateForTest("sixes", "Шестёрки", 6);
|
||||
chanceCategory = SumAllCategory.CreateForTest("chance", "Шанс");
|
||||
fullHouseCategory = FullHouseCategory.CreateForTest("full_house", "Фулл-хаус");
|
||||
onesCategory = SumOfValueCategory.CreateForTest("ones", "Единицы", 1);
|
||||
threesCategory = SumOfValueCategory.CreateForTest("threes", "Тройки", 3);
|
||||
foursCategory = SumOfValueCategory.CreateForTest("fours", "Четвёрки", 4);
|
||||
sixesCategory = SumOfValueCategory.CreateForTest("sixes", "Шестёрки", 6);
|
||||
}
|
||||
|
||||
[TearDown]
|
||||
@@ -67,7 +67,7 @@ namespace YachtDice.Tests
|
||||
registry.TryActivate(inst);
|
||||
}
|
||||
|
||||
private ModifierContext CreateScoringContext(int baseScore, int[] dice, CategoryDefinitionSO category)
|
||||
private ModifierContext CreateScoringContext(int baseScore, int[] dice, CategoryDefinition category)
|
||||
{
|
||||
return new ModifierContext
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user