public void PanGestureGetDistance() { tlog.Debug(tag, $"PanGestureGetDistance START"); PanGesture a1 = new PanGesture(); float f1 = a1.GetDistance(); a1.Dispose(); tlog.Debug(tag, $"PanGestureGetDistance END (OK)"); Assert.Pass("PanGestureGetDistance"); }
public void PanGestureGetDistance() { tlog.Debug(tag, $"PanGestureGetDistance START"); var testingTarget = new PanGesture(Gesture.StateType.Finished); Assert.IsNotNull(testingTarget, "Can't create success object Hover"); Assert.IsInstanceOf <PanGesture>(testingTarget, "Should be an instance of PanGesture type."); tlog.Debug(tag, "GetDistance : " + testingTarget.GetDistance()); testingTarget.Dispose(); tlog.Debug(tag, $"PanGestureGetDistance END (OK)"); Assert.Pass("PanGestureGetDistance"); }