mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-24 03:56:31 +00:00
20 lines
597 B
C#
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());
|
|
// }
|
|
//}
|
|
} |