예제 #1
0
    public void BlinqAllShouldEqualLinqNativeArrayAll([ArrayValues] int[] sourceArr)
    {
        var source   = new NativeArray <int>(sourceArr, Allocator.Persistent);
        var expected = ExceptionAndValue(() => Linq.All(source, EqualsZero.Invoke));
        var actual   = ExceptionAndValue(() => Blinq.All(source, EqualsZero));

        AssertAreEqual(expected, actual);
        source.Dispose();
    }
예제 #2
0
 public void Execute()
 {
     Blinq.All(Source, Predicate);
 }