Exemplo n.º 1
0
        public void HoverGetHitView()
        {
            tlog.Debug(tag, $"HoverGetHitView START");
            /* TEST CODE */
            Hover hover = new Hover();

            Assert.IsNotInstanceOf <View>(hover.GetHitView(0), "non-existent point returns an empty handle");
            hover.Dispose();
            tlog.Debug(tag, $"HoverGetHitView END (OK)");
            Assert.Pass("HoverGetHitView");
        }
Exemplo n.º 2
0
        public void HoverGetHitView()
        {
            tlog.Debug(tag, $"HoverGetHitView 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, "HitView : " + testingTarget.GetHitView(0));

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