public void Size2DNotEqualTo() { tlog.Debug(tag, $"Size2DNotEqualTo START"); var testingTarget = new Size2D(10, 20); Assert.IsNotNull(testingTarget, "Can't create success object Size2D"); Assert.IsInstanceOf <Size2D>(testingTarget, "Should be an instance of Size2D type."); using (Size2D size = new Size2D(1, 2)) { Assert.IsTrue((testingTarget.NotEqualTo(size)), "Should be equal"); } testingTarget.Dispose(); tlog.Debug(tag, $"Size2DNotEqualTo END (OK)"); }