public void RulerGetType() { tlog.Debug(tag, $"RulerGetType START"); using (DefaultRuler ruler = new DefaultRuler()) { var testingTarget = new Ruler(ruler.SwigCPtr.Handle, false); Assert.IsNotNull(testingTarget, "Can't create success object Ruler."); Assert.IsInstanceOf <Ruler>(testingTarget, "Should return Ruler instance."); var result = testingTarget.GetType(); tlog.Debug(tag, "Type : " + result); testingTarget.Dispose(); } tlog.Debug(tag, $"RulerGetType END (OK)"); }