public void VectorUint16PairBegin() { tlog.Debug(tag, $"VectorUint16PairBegin START"); var testingTarget = new VectorUint16Pair(); Assert.IsNotNull(testingTarget, "Can't create success object VectorUint16Pair."); Assert.IsInstanceOf <VectorUint16Pair>(testingTarget, "Should return VectorUint16Pair instance."); var result = testingTarget.Begin(); tlog.Debug(tag, "Begin :" + result); testingTarget.Dispose(); tlog.Debug(tag, $"VectorUint16PairBegin END (OK)"); }
public void VectorUint16Insert() { tlog.Debug(tag, $"VectorUint16Insert START"); var testingTarget = new VectorUint16Pair(); Assert.IsNotNull(testingTarget, "Can't create success object VectorUint16Pair."); Assert.IsInstanceOf <VectorUint16Pair>(testingTarget, "Should return VectorUint16Pair instance."); try { testingTarget.Insert(testingTarget.Begin(), new Uint16Pair(30, 40)); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception : Failed!"); } testingTarget.Dispose(); tlog.Debug(tag, $"VectorUint16Insert END (OK)"); }