public void TestNullDevice() { using (InfraredFrameData frame = new InfraredFrameData()) { using (ImmutableInfraredTexture texture = new ImmutableInfraredTexture(null, frame)) { } } }
public void TestCreate() { using (InfraredFrameData frame = new InfraredFrameData()) { using (ImmutableInfraredTexture texture = new ImmutableInfraredTexture(device, frame)) { Assert.AreNotEqual(texture.ShaderView.NativePointer, IntPtr.Zero); } } }
public void TestNullFrame() { using (ImmutableInfraredTexture texture = new ImmutableInfraredTexture(device, null)) { } }