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

            Assert.AreEqual(-1, hover.GetDeviceId(0), "Should be equals to the origin value of DeviceId");
            hover.Dispose();
            tlog.Debug(tag, $"HoverGetDeviceId END (OK)");
            Assert.Pass("HoverGetDeviceId");
        }
Example #2
0
        public void HoverGetDeviceId()
        {
            tlog.Debug(tag, $"HoverGetDeviceId 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, "DeviceId : " + testingTarget.GetDeviceId(0));

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