Esempio n. 1
0
        public void Uint16PairSetY()
        {
            tlog.Debug(tag, $"Uint16PairSetY START");

            var testingTarget = new Uint16Pair(1, 2);

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

            try
            {
                testingTarget.SetY(2);
            }
            catch (Exception e)
            {
                tlog.Debug(tag, e.Message.ToString());
                Assert.Fail("Caught Exception : Failed!");
            }

            testingTarget.Dispose();

            tlog.Debug(tag, $"Uint16PairSetY END (OK)");
        }