Beispiel #1
0
        public void Struct_IntArray_IsNotBlittable()
        {
            // Arrange

            // Act
            var isBlittable = BlittableHelper.IsBlittable <Struct_IntArray>();

            isBlittable.Should().BeFalse("struct is not blittable");
        }
Beispiel #2
0
        public void Struct_TightPack_IsBlittable()
        {
            // Arrange

            // Act
            var isBlittable = BlittableHelper.IsBlittable <Struct_TightPack>();

            isBlittable.Should().BeTrue("struct is blittable");
        }