Example #1
0
        public void HoverGetState()
        {
            tlog.Debug(tag, $"HoverGetState START");
            /* TEST CODE */
            Hover hover = new Hover();

            Assert.AreEqual(PointStateType.Finished, hover.GetState(0), "Should be equals to the origin value of state");
            hover.Dispose();
            tlog.Debug(tag, $"HoverGetState END (OK)");
            Assert.Pass("HoverGetState");
        }
Example #2
0
        public void HoverGetState()
        {
            tlog.Debug(tag, $"HoverGetState START");

            var testingTarget = new Hover();

            Assert.IsNotNull(testingTarget, "Can't create success object Hover");
            Assert.IsInstanceOf <Hover>(testingTarget, "Should be an instance of Hover type.");

            tlog.Debug(tag, "State : " + testingTarget.GetState(0));

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