public void ushortpConstructor() { tlog.Debug(tag, $"ushortpConstructor START"); var testingTarget = new ushortp(); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <ushortp>(testingTarget, "Should be an Instance of ushortp!"); testingTarget.Dispose(); tlog.Debug(tag, $"ushortpConstructor END (OK)"); }
public void ushortpValue() { tlog.Debug(tag, $"ushortpValue START"); var testingTarget = new ushortp(); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <ushortp>(testingTarget, "Should be an Instance of ushortp!"); var result = testingTarget.value(); tlog.Debug(tag, "value : " + result); testingTarget.Dispose(); tlog.Debug(tag, $"ushortpValue END (OK)"); }
public void ushortpAssign() { tlog.Debug(tag, $"ushortpAssign START"); var testingTarget = new ushortp(); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <ushortp>(testingTarget, "Should be an Instance of ushortp!"); try { testingTarget.assign(1); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception : Failed!"); } testingTarget.Dispose(); tlog.Debug(tag, $"ushortpAssign END (OK)"); }