示例#1
0
        public void SlideTransitionConstructor()
        {
            tlog.Debug(tag, $"SlideTransitionConstructor START");

            var testingTarget = new SlideTransition();

            Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
            Assert.IsInstanceOf <SlideTransition>(testingTarget, "Should be an instance of SlideTransition type.");

            testingTarget.Dispose();
            tlog.Debug(tag, $"SlideTransitionConstructor END (OK)");
        }
示例#2
0
        public void SlideTransitionDirection()
        {
            tlog.Debug(tag, $"SlideTransitionDirection START");

            var testingTarget = new SlideTransition();

            Assert.IsNotNull(testingTarget, "Return a null object of FontClient");
            Assert.IsInstanceOf <SlideTransition>(testingTarget, "Should be an instance of SlideTransition type.");

            using (Vector2 dir = new Vector2(100.0f, 200.0f))
            {
                testingTarget.Direction = dir;
                tlog.Debug(tag, "Opacity : " + testingTarget.Direction);
            }

            testingTarget.Dispose();
            tlog.Debug(tag, $"SlideTransitionDirection END (OK)");
        }