Example #1
0
        public void AlignmentAssign()
        {
            tlog.Debug(tag, $"AlignmentAssign START");

            var testingTarget = new Alignment();

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

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

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