Second commit
This commit is contained in:
commit
36840f3ad4
999 files changed
+61364
No files matched your search
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4767eecc89374b629a8ef5e48b5b1090
|
||||
timeCreated: 1785937258
|
||||
@@ -0,0 +1,23 @@
|
||||
using Code.D.Cleaning.CleanTools;
|
||||
using NUnit.Framework;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Code.Tests.Editor
|
||||
{
|
||||
[TestFixture]
|
||||
public class CleaningToolsTests
|
||||
{
|
||||
[Test]
|
||||
public void TestTryapkaTool()
|
||||
{
|
||||
var tryapka = new Tryapka(0.1f, 0.03f, new Texture2D(100,100));
|
||||
|
||||
for (int i = 0; i < 10; i++)
|
||||
{
|
||||
tryapka.Use();
|
||||
}
|
||||
|
||||
Assert.AreEqual(tryapka.IsDirty.CurrentValue, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 602a706c78c642dd8e6e8f91e5a0c141
|
||||
timeCreated: 1785937303
|
||||
Reference in new issue
Block a user