public void FixedRulerGetPageFromPosition() { tlog.Debug(tag, $"FixedRulerGetPageFromPosition START"); var testingTarget = new FixedRuler(); Assert.IsNotNull(testingTarget, "Can't create success object FixedRuler."); Assert.IsInstanceOf <FixedRuler>(testingTarget, "Should return FixedRuler instance."); try { var result = testingTarget.GetPageFromPosition(0.3f, true); tlog.Debug(tag, "GetPageFromPosition :" + result); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception : Failed!"); } testingTarget.Dispose(); tlog.Debug(tag, $"FixedRulerGetPageFromPosition END (OK)"); }