Exemple #1
0
 public virtual void StartOverlap()
 {
     int[] a = new int[] { 0, 1, 2, 3, 4, 6 };
     int[] b = new int[] { 0, 1, 2, 3, 5, 7 };
     Assert.IsFalse(InitialCycles.GetSingletonIntersect(a, b));
 }
Exemple #2
0
 public virtual void EndOverlap()
 {
     int[] a = new int[] { 0, 1, 3, 5, 7, 9, 10 };
     int[] b = new int[] { 0, 2, 4, 6, 8, 9, 10 };
     Assert.IsFalse(InitialCycles.GetSingletonIntersect(a, b));
 }
Exemple #3
0
 public virtual void Singleton()
 {
     int[] a = new int[] { 0, 1, 3, 5, 7, 9 };
     int[] b = new int[] { 0, 2, 4, 6, 8, 10 };
     Assert.IsTrue(InitialCycles.GetSingletonIntersect(a, b));
 }