public void BlinqShouldEqualLinqNativeArrayFirstOrDefaultPredicate([ArrayValues] int[] sourceArr) { var source = new NativeArray <int>(sourceArr, Allocator.Persistent); var expected = ExceptionAndValue(() => Linq.FirstOrDefault(source, EqualsZero.Invoke)); var actual = ExceptionAndValue(() => source.FirstOrDefault(EqualsZero)); AssertAreEqual(expected, actual); source.Dispose(); }