Files
MonoGame.Extended/tests/MonoGame.Extended.Entities.Tests/ComponentTypeTests.cs
T
2024-05-18 20:01:37 -04:00

20 lines
597 B
C#

using MonoGame.Extended.Sprites;
using Xunit;
namespace MonoGame.Extended.Entities.Tests
{
//public class ComponentTypeTests
//{
// [Fact]
// public void CreateComponentType()
// {
// var type = typeof(Sprite);
// var componentType = new ComponentType(type, 3);
// Assert.Same(type, componentType.Type);
// Assert.Equal(3, componentType.Id);
// Assert.Equal(new ComponentType(typeof(Sprite), 3), componentType);
// Assert.Equal(componentType.Id, componentType.GetHashCode());
// }
//}
}