[Fix] Refactor project
This commit is contained in:
@@ -5,24 +5,23 @@ using YachtDice.Modifiers.Core;
|
||||
using YachtDice.Modifiers.Definition;
|
||||
using YachtDice.Modifiers.Effects;
|
||||
using YachtDice.Modifiers.Runtime;
|
||||
using YachtDice.Scoring;
|
||||
|
||||
namespace YachtDice.Tests
|
||||
{
|
||||
public class ModifierEffectTests
|
||||
{
|
||||
private CategoryDefinition testCategory;
|
||||
private CategoryDefinition _testCategory;
|
||||
|
||||
[SetUp]
|
||||
public void SetUp()
|
||||
{
|
||||
testCategory = SumAllCategory.CreateForTest("chance", "Шанс");
|
||||
_testCategory = SumAllCategory.CreateForTest("chance", "Шанс");
|
||||
}
|
||||
|
||||
[TearDown]
|
||||
public void TearDown()
|
||||
{
|
||||
Object.DestroyImmediate(testCategory);
|
||||
Object.DestroyImmediate(_testCategory);
|
||||
}
|
||||
|
||||
private ModifierInstance CreateInstance(string id = "test")
|
||||
@@ -37,7 +36,7 @@ namespace YachtDice.Tests
|
||||
{
|
||||
BaseScore = baseScore,
|
||||
DiceValues = dice,
|
||||
Category = testCategory,
|
||||
Category = _testCategory,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user