private void TestModifyStop2() { int hr; double l1, l2; IAMTimelineObj pObj = (IAMTimelineObj)m_pSource1Src; hr = m_pSource1Src.ModifyStopTime2(1200.56); DESError.ThrowExceptionForHR(hr); hr = pObj.GetStartStop2(out l1, out l2); DESError.ThrowExceptionForHR(hr); Debug.Assert(l2 == 1200.56, "ModifyStopTime2"); }
private void TestInsertSpace2() { double spacestart = 3.23; double spacestop = spacestart + 5; int hr = m_pTrack.InsertSpace2(spacestart, spacestop); DESError.ThrowExceptionForHR(hr); double start = 0, stop = 0; hr = m_pSourceObj1.GetStartStop2(out start, out stop); DESError.ThrowExceptionForHR(hr); Debug.Assert(stop == spacestart, "TestInsertSpace2"); }