public void BlinqShouldEqualLinqNativeSequenceScheduleElementAtOrDefault([ArrayValues] int[] sourceArr) { var index = 10; using (var source = new NativeArray <int>(sourceArr, Allocator.Persistent)) { var seq = Blinq.ToValueSequence(in source); var expected = ExceptionAndValue(() => Linq.ElementAtOrDefault(seq, index)); if (expected.exception != null) { return; } var actual = ExceptionAndValue(() => Blinq.ScheduleElementAtOrDefault(seq, index).Complete()); AssertAreEqual(expected, actual); } }