[Fix] Refactor project

This commit is contained in:
2026-03-02 12:49:12 +07:00
parent f65976796d
commit f52131f755
44 changed files with 449 additions and 404 deletions
@@ -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,
};
}