public void HoverGetLocalPosition() { tlog.Debug(tag, $"HoverGetLocalPosition START"); /* TEST CODE */ Hover hover = new Hover(); Assert.AreEqual(0.0f, hover.GetLocalPosition(0).X, "Should be equals to the origin value of LocalPosition.X"); Assert.AreEqual(0.0f, hover.GetLocalPosition(0).Y, "Should be equals to the origin value of LocalPosition.Y"); hover.Dispose(); tlog.Debug(tag, $"HoverGetLocalPosition END (OK)"); Assert.Pass("HoverGetLocalPosition"); }
public void HoverGetLocalPosition() { tlog.Debug(tag, $"HoverGetLocalPosition 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."); Assert.AreEqual(0.0f, testingTarget.GetLocalPosition(0).X, "Should be equals to the origin value of LocalPosition.X"); Assert.AreEqual(0.0f, testingTarget.GetLocalPosition(0).Y, "Should be equals to the origin value of LocalPosition.Y"); testingTarget.Dispose(); tlog.Debug(tag, $"HoverGetLocalPosition END (OK)"); Assert.Pass("HoverGetLocalPosition"); }