Files
Webber Takken fd4f2e502a Update workflow to latest standards + add test projects (#102)
* Move test-project to subfolder

* Update workflow to target test-project

* Add 2018.3-legacy test-project

* Rename to legacy-render-pipeline

* Add test project for URP

* Cache LFS

* Update license

* Ignore artifacts

* Add test project for HDRP

* Avoid ambiguity in cache key
2021-05-20 23:58:14 +02:00

30 lines
709 B
C#

using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
namespace Tests
{
public class SamplePlayModeTest
{
// A Test behaves as an ordinary method
[Test]
public void NewTestScriptSimplePasses()
{
// Use the Assert class to test conditions
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 NewTestScriptWithEnumeratorPasses()
{
// Use the Assert class to test conditions.
// Use yield to skip a frame.
yield return null;
}
}
}