test
This commit is contained in:
@@ -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.
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user