public void BlinqShouldEqualLinqNativeArrayExcept([ArrayValues] int[] sourceArr, [ArrayValues] int[] secondArr) { var source = new NativeArray <int>(sourceArr, Allocator.Persistent); var second = new NativeArray <int>(secondArr, Allocator.Persistent); var expected = ExceptionAndValue(() => Linq.ToArray(Linq.Except(source, second))); var actual = ExceptionAndValue(() => Linq.ToArray(Blinq.Except(source, second))); AssertAreEqual(expected, actual); source.Dispose(); second.Dispose(); }
public void Execute() { var result = Blinq.Except(Source, Second).ToNativeList(Allocator.Temp); result.Dispose(); }