// https://github.com/WaveEngine/WebGL.NET/issues/8
        public void UIntArrayCastRegressionTest()
        {
            var array = new uint[1];

            var result = gl.CastNativeArray(array);

            Assert.IsType <Uint32Array>(result);
        }
Exemplo n.º 2
0
        // https://github.com/WaveEngine/WebGL.NET/issues/8
        public void UIntArrayCastRegressionTest()
        {
            var gl    = new WebGLRenderingContext(canvas);
            var array = new uint[1];

            var result = gl.CastNativeArray(array);

            Assert.IsType <Uint32Array>(result);
        }