Ejemplo n.º 1
0
        public void IntersectsWithTest()
        {
            var setEven = GetOddEvenSet(false);
            var setOdd  = GetOddEvenSet(true);

            UnsafeHashSet.IntersectsWith <int>(setEven, setOdd);

            // Resulting collection should be empty.
            Assert.AreEqual(0, UnsafeHashSet.GetCount(setEven));

            UnsafeHashSet.Free(setEven);
            UnsafeHashSet.Free(setOdd);
        }
Ejemplo n.º 2
0
 public void IntersectsWith(NativeHashSet <T> other)
 {
     UnsafeHashSet.IntersectsWith <T>(m_inner, other.m_inner);
 }