public void PanGestureDetectorAddAngle() { tlog.Debug(tag, $"PanGestureDetectorAddAngle START"); PanGestureDetector a1 = new PanGestureDetector(); Radian angle = new Radian(4); Radian threshold = new Radian(15); a1.AddAngle(angle); a1.AddAngle(angle, threshold); tlog.Debug(tag, $"PanGestureDetectorAddAngle END (OK)"); Assert.Pass("PanGestureDetectorAddAngle"); }
public void PanGestureDetectorRemoveAngle() { tlog.Debug(tag, $"PanGestureDetectorRemoveAngle START"); PanGestureDetector a1 = new PanGestureDetector(); Radian angle = new Radian(4); a1.AddAngle(angle); a1.RemoveAngle(angle); tlog.Debug(tag, $"PanGestureDetectorRemoveAngle END (OK)"); Assert.Pass("PanGestureDetectorClearAngles"); }
public void PanGestureDetectorGetAngleCount() { tlog.Debug(tag, $"PanGestureDetectorGetAngleCount START"); PanGestureDetector a1 = new PanGestureDetector(); Radian angle = new Radian(4); a1.AddAngle(angle); a1.GetAngleCount(); tlog.Debug(tag, $"PanGestureDetectorGetAngleCount END (OK)"); Assert.Pass("PanGestureDetectorAddDirection"); }