summaryrefslogtreecommitdiff
path: root/Plugins/MonoGame.Extended/tests/MonoGame.Extended.Entities.Tests/ComponentTypeTests.cs
blob: 89538041b83859afd8547e8e7f61889ad76d0dc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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());
    //    }
    //}
}