public void VectorUint16Remove() { tlog.Debug(tag, $"VectorUint16Remove START"); var testingTarget = new VectorUint16Pair(); Assert.IsNotNull(testingTarget, "Can't create success object VectorUint16Pair."); Assert.IsInstanceOf <VectorUint16Pair>(testingTarget, "Should return VectorUint16Pair instance."); try { using (Uint16Pair pair = new Uint16Pair(30, 40)) { testingTarget.PushBack(pair); testingTarget.Remove(pair); } } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception : Failed!"); } testingTarget.Dispose(); tlog.Debug(tag, $"VectorUint16Remove END (OK)"); }
public void VectorUint16PairContructor() { tlog.Debug(tag, $"VectorUint16PairContructor START"); var testingTarget = new VectorUint16Pair(); Assert.IsNotNull(testingTarget, "Can't create success object VectorUint16Pair."); Assert.IsInstanceOf <VectorUint16Pair>(testingTarget, "Should return VectorUint16Pair instance."); testingTarget.Dispose(); tlog.Debug(tag, $"VectorUint16PairContructor END (OK)"); }
public void VectorUint16ResizeWithUint16Pair() { tlog.Debug(tag, $"VectorUint16ResizeWithUint16Pair START"); var testingTarget = new VectorUint16Pair(); Assert.IsNotNull(testingTarget, "Can't create success object VectorUint16Pair."); Assert.IsInstanceOf <VectorUint16Pair>(testingTarget, "Should return VectorUint16Pair instance."); try { testingTarget.Resize(1, new Uint16Pair()); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception : Failed!"); } testingTarget.Dispose(); tlog.Debug(tag, $"VectorUint16ResizeWithUint16Pair END (OK)"); }
public void VectorUint16InsertWith3Parameters() { tlog.Debug(tag, $"VectorUint16InsertWith3Parameters 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(new Uint16Pair(0, 0), testingTarget.Begin(), testingTarget.End()); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception : Failed!"); } testingTarget.Dispose(); tlog.Debug(tag, $"VectorUint16InsertWith3Parameters END (OK)"); }
public void VectorUint16PushBack() { tlog.Debug(tag, $"VectorUint16PairPushBack START"); var testingTarget = new VectorUint16Pair(); Assert.IsNotNull(testingTarget, "Can't create success object VectorUint16Pair."); Assert.IsInstanceOf <VectorUint16Pair>(testingTarget, "Should return VectorUint16Pair instance."); try { testingTarget.PushBack(new Uint16Pair()); var result = testingTarget.ValueOfIndex(0); tlog.Debug(tag, "ValueOfIndex :" + result); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception : Failed!"); } testingTarget.Dispose(); tlog.Debug(tag, $"VectorUint16PairPushBack END (OK)"); }