Exemple #1
0
 private static void AssertMoveNext(ref PipData.FragmentEnumerator enumerator, out PipFragment fragment, PipFragmentType?expectedFragmentType = null)
 {
     XAssert.IsTrue(enumerator.MoveNext());
     fragment = enumerator.Current;
     XAssert.IsTrue(fragment.IsValid);
     if (expectedFragmentType.HasValue)
     {
         XAssert.AreEqual(expectedFragmentType.Value, fragment.FragmentType);
     }
 }
Exemple #2
0
 private void VerifyPipDataFromCursorEnd(PipData.FragmentEnumerator enumerator)
 {
     XAssert.IsFalse(enumerator.MoveNext());
 }