public void TestNullDevice()
 {
     using (DepthFrameData frame = new DepthFrameData())
     {
         using (ImmutableDepthTexture texture = new ImmutableDepthTexture(null, frame))
         {
         }
     }
 }
 public void TestCreate()
 {
     using (DepthFrameData frame = new DepthFrameData())
     {
         using (ImmutableDepthTexture texture = new ImmutableDepthTexture(device, frame))
         {
             Assert.AreNotEqual(texture.NormalizedView.NativePointer, IntPtr.Zero);
             Assert.AreNotEqual(texture.RawView.NativePointer, IntPtr.Zero);
         }
     }
 }
 public void TestNullFrame()
 {
     using (ImmutableDepthTexture texture = new ImmutableDepthTexture(device, null))
     {
     }
 }