public void AlignmentPaddingConstructorWithFloats() { tlog.Debug(tag, $"AlignmentPaddingConstructorWithFloats START"); var testingTarget = new Alignment.Padding(1.0f, 2.0f, 3.0f, 4.0f); Assert.IsNotNull(testingTarget, "Can't create success object Alignment"); Assert.IsInstanceOf <Alignment.Padding>(testingTarget, "Should be an instance of Padding type."); testingTarget.Dispose(); tlog.Debug(tag, $"AlignmentPaddingConstructorWithFloats END (OK)"); }
public void AlignmentPadding() { tlog.Debug(tag, $"AlignmentPadding START"); var testingTarget = new Alignment.Padding(); Assert.IsNotNull(testingTarget, "Can't create success object Alignment"); Assert.IsInstanceOf <Alignment.Padding>(testingTarget, "Should be an instance of Padding type."); testingTarget.Dispose(); tlog.Debug(tag, $"AlignmentPadding END (OK)"); }
public void AlignmentPaddingBottom() { tlog.Debug(tag, $"AlignmentPaddingBottom START"); var testingTarget = new Alignment.Padding(1.0f, 2.0f, 3.0f, 4.0f); Assert.IsNotNull(testingTarget, "Can't create success object Alignment"); Assert.IsInstanceOf <Alignment.Padding>(testingTarget, "Should be an instance of Padding type."); Assert.AreEqual(4.0f, testingTarget.bottom, "Should be equal!"); testingTarget.bottom = 1.0f; Assert.AreEqual(1.0f, testingTarget.bottom, "Should be equal!"); testingTarget.Dispose(); tlog.Debug(tag, $"AlignmentPaddingBottom END (OK)"); }
public void AlignmentPaddingGetCPtr() { tlog.Debug(tag, $"AlignmentPaddingGetCPtr START"); var testingTarget = new Alignment.Padding(); Assert.IsNotNull(testingTarget, "Can't create success object Alignment"); Assert.IsInstanceOf <Alignment.Padding>(testingTarget, "Should be an instance of Padding type."); try { Alignment.Padding.getCPtr(testingTarget); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception : Failed!"); } testingTarget.Dispose(); tlog.Debug(tag, $"AlignmentPaddingGetCPtr END (OK)"); }