public void VectorBaseCount() { tlog.Debug(tag, $"VectorBaseCount START"); using (View view = new View()) { var testingTarget = new VectorBase(view.SwigCPtr.Handle, false); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <VectorBase>(testingTarget, "Should be an Instance of VectorBase!"); try { var result = testingTarget.Count(); tlog.Debug(tag, "Count : " + result); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } testingTarget.Dispose(); } tlog.Debug(tag, $"VectorBaseCount END (OK)"); }
public void VectorBaseConstructor() { tlog.Debug(tag, $"VectorBaseConstructor START"); using (View view = new View()) { var testingTarget = new VectorBase(view.SwigCPtr.Handle, false); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <VectorBase>(testingTarget, "Should be an Instance of VectorBase!"); testingTarget.Dispose(); } tlog.Debug(tag, $"VectorBaseConstructor END (OK)"); }