예제 #1
0
        public void PanGestureGetSpeed()
        {
            tlog.Debug(tag, $"PanGestureGetSpeed START");
            PanGesture a1 = new PanGesture();
            float      f1 = a1.GetSpeed();

            a1.Dispose();

            tlog.Debug(tag, $"PanGestureGetSpeed END (OK)");
            Assert.Pass("PanGestureGetSpeed");
        }
예제 #2
0
        public void PanGestureGetSpeed()
        {
            tlog.Debug(tag, $"PanGestureGetSpeed 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, "GetSpeed : " + testingTarget.GetSpeed());

            testingTarget.Dispose();
            tlog.Debug(tag, $"PanGestureGetSpeed END (OK)");
            Assert.Pass("PanGestureGetSpeed");
        }