Files
speckle-unity/Assets/Tests/PlayMode/ComponentTest.cs
T
2023-06-14 17:08:51 +01:00

19 lines
372 B
C#

using NUnit.Framework;
using UnityEngine;
namespace Speckle.ConnectorUnity.Tests
{
public abstract class ComponentTest<T> where T : Component
{
protected T sut;
[SetUp]
public void Setup()
{
GameObject go = new();
sut = go.AddComponent<T>();
Assert.That(sut, Is.Not.Null);
}
}
}