diff --git a/Assets/Tests.meta b/Assets/Tests.meta new file mode 100644 index 0000000..03bc6e1 --- /dev/null +++ b/Assets/Tests.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 12e6d3693ac41db4da18f355764cd977 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tests/HelloWorld.cs b/Assets/Tests/HelloWorld.cs new file mode 100644 index 0000000..518f4f5 --- /dev/null +++ b/Assets/Tests/HelloWorld.cs @@ -0,0 +1,25 @@ +using System.Collections; +using System.Collections.Generic; +using NUnit.Framework; +using UnityEngine; +using UnityEngine.TestTools; + +public class HelloWorld +{ + // A Test behaves as an ordinary method + [Test] + public void HelloWorldSimplePasses() + { + Assert.True(true); + } + + // A UnityTest behaves like a coroutine in Play Mode. In Edit Mode you can use + // `yield return null;` to skip a frame. + [UnityTest] + public IEnumerator HelloWorldWithEnumeratorPasses() + { + // Use the Assert class to test conditions. + // Use yield to skip a frame. + yield return null; + } +} diff --git a/Assets/Tests/HelloWorld.cs.meta b/Assets/Tests/HelloWorld.cs.meta new file mode 100644 index 0000000..d4d9ec9 --- /dev/null +++ b/Assets/Tests/HelloWorld.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 336cc82407573ff4385e0d395ff7ad2b +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Tests/Tests.asmdef b/Assets/Tests/Tests.asmdef new file mode 100644 index 0000000..5854358 --- /dev/null +++ b/Assets/Tests/Tests.asmdef @@ -0,0 +1,6 @@ +{ + "name": "Tests", + "optionalUnityReferences": [ + "TestAssemblies" + ] +} diff --git a/Assets/Tests/Tests.asmdef.meta b/Assets/Tests/Tests.asmdef.meta new file mode 100644 index 0000000..404300c --- /dev/null +++ b/Assets/Tests/Tests.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: f67254eefda8dee45841642517ba9864 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: