public void doublepConstructor() { tlog.Debug(tag, $"doublepConstructor START"); var testingTarget = new doublep(); Assert.IsNotNull(testingTarget, "Can't create success object doublep."); Assert.IsInstanceOf <doublep>(testingTarget, "Should return doublep instance."); testingTarget.Dispose(); tlog.Debug(tag, $"doublepConstructor END (OK)"); }
public void doublepValue() { tlog.Debug(tag, $"doublepValue START"); var testingTarget = new doublep(); Assert.IsNotNull(testingTarget, "Can't create success object doublep."); Assert.IsInstanceOf <doublep>(testingTarget, "Should return doublep instance."); var result = testingTarget.value(); tlog.Debug(tag, "value : " + result); testingTarget.Dispose(); tlog.Debug(tag, $"doublepValue END (OK)"); }
public void doublepFrompointer() { tlog.Debug(tag, $"doublepFrompointer START"); var testingTarget = new doublep(); Assert.IsNotNull(testingTarget, "Can't create success object doublep."); Assert.IsInstanceOf <doublep>(testingTarget, "Should return doublep instance."); var result = doublep.frompointer(new SWIGTYPE_p_double(testingTarget.SwigCPtr.Handle)); tlog.Debug(tag, "cast : " + result); testingTarget.Dispose(); tlog.Debug(tag, $"doublepFrompointer END (OK)"); }
public void doublepAssign() { tlog.Debug(tag, $"doublepAssign START"); var testingTarget = new doublep(); Assert.IsNotNull(testingTarget, "Can't create success object doublep."); Assert.IsInstanceOf <doublep>(testingTarget, "Should return doublep instance."); try { testingTarget.assign(6.92); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception : Failed!"); } testingTarget.Dispose(); tlog.Debug(tag, $"doublepAssign END (OK)"); }