This commit is contained in:
2025-01-17 13:10:42 +01:00
commit 4536213c91
15115 changed files with 1442174 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
using UnityEngine;
using UnityEngine.TestTools;
using NUnit.Framework;
using System.Collections;
#if ENABLE_INPUT_SYSTEM && NEW_INPUT_SYSTEM_INSTALLED
using UnityEngine.InputSystem;
#endif
// This package does not contain any runtim components, therefore
// this test is only a placeholder.
[TestFixture]
class RuntimeExampleTest {
[SetUp]
public void SetUp()
{
#if ENABLE_INPUT_SYSTEM && NEW_INPUT_SYSTEM_INSTALLED
if (Keyboard.current == null)
{
InputSystem.AddDevice<Keyboard>();
}
#endif
}
[Test]
public void PlayModeSampleTestSimplePasses()
{
// Use the Assert class to test conditions.
}
}