public void RulerDomainClampWithClampState() { tlog.Debug(tag, $"RulerDomainClampWithClampState START"); var testingTarget = new RulerDomain(0.0f, 100.0f); Assert.IsNotNull(testingTarget, "Can't create success object RulerDomain."); Assert.IsInstanceOf <RulerDomain>(testingTarget, "Should return RulerDomain instance."); var result = testingTarget.Clamp(10.0f, 50.0f, 100.0f, new SWIGTYPE_p_Dali__Toolkit__ClampState(testingTarget.SwigCPtr.Handle)); tlog.Debug(tag, "Clamp : " + result); testingTarget.Dispose(); tlog.Debug(tag, $"RulerDomainClampWithClampState END (OK)"); }
public void RulerDomainClampWithScale() { tlog.Debug(tag, $"RulerDomainClampWithScale START"); var testingTarget = new RulerDomain(0.0f, 100.0f); Assert.IsNotNull(testingTarget, "Can't create success object RulerDomain."); Assert.IsInstanceOf <RulerDomain>(testingTarget, "Should return RulerDomain instance."); var result = testingTarget.Clamp(10.0f, 50.0f, 100.0f); tlog.Debug(tag, "Clamp : " + result); testingTarget.Dispose(); tlog.Debug(tag, $"RulerDomainClampWithScale END (OK)"); }