UnityGame/Library/PackageCache/com.unity.multiplayer.center/Tests/Runtime/PlaceholderTest.cs

34 lines
626 B
C#
Raw Normal View History

2024-10-27 10:53:47 +03:00
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.
}
}