public void NDalicGetAlphaOffsetAndMask() { tlog.Debug(tag, $"NDalicGetAlphaOffsetAndMask START"); intp dummy1 = new intp(); dummy1.assign(1); intp dummy2 = new intp(); dummy2.assign(10); try { NDalic.GetAlphaOffsetAndMask(PixelFormat.BGR8888, dummy1.cast(), dummy2.cast()); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception : Failed!"); } dummy1.Dispose(); dummy2.Dispose(); tlog.Debug(tag, $"NDalicGetAlphaOffsetAndMask END (OK)"); }
public void intpAssign() { tlog.Debug(tag, $"intpAssign START"); var testingTarget = new intp(); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <intp>(testingTarget, "Should be an Instance of intp!"); try { testingTarget.assign(1); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception : Failed!"); } testingTarget.Dispose(); tlog.Debug(tag, $"intpAssign END (OK)"); }