예제 #1
0
        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");
        }
예제 #2
0
        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");
        }
예제 #3
0
        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");
        }