public static ItemRequestResult <Index2D> Test <FloatPredicate>( RefMatrix4x4 matrix, Index2D startIndex, Bounds2D sector, FloatPredicate match) where FloatPredicate : struct, IPredicate <float> => matrix.FindIndex <float, RefMatrix4x4, FloatPredicate>( startIndex, sector, match);
public static void Index2DBounds2DThrowsExceptionIfSectorIsOutOfBounds( RefMatrix4x4 matrix, Index2D startIndex, Bounds2D sector) => Assert.Throws <ArgumentOutOfRangeException>( () => matrix.FindIndex <float, RefMatrix4x4, AlwaysTruePredicate <float> >( startIndex, sector, new AlwaysTruePredicate <float>()));
public static ItemRequestResult <Index2D> Test <FloatPredicate>( RefMatrix4x4 matrix, FloatPredicate match) where FloatPredicate : struct, IPredicate <float> => matrix.FindIndex <float, RefMatrix4x4, FloatPredicate>(match);
public static ItemRequestResult <Index2D> Test( RefMatrix4x4 matrix, Index2D startIndex, Bounds2D sector, Predicate <float> match) => matrix.FindIndex(startIndex, sector, match);
public static void Index2DBounds2DThrowsExceptionIfSectorIsOutOfBounds( RefMatrix4x4 matrix, Index2D startIndex, Bounds2D sector) => Assert.Throws <ArgumentOutOfRangeException>( () => matrix.FindIndex <float, RefMatrix4x4>( startIndex, sector, o => true));
public static ItemRequestResult <Index2D> Test( RefMatrix4x4 matrix, Predicate <float> match) => matrix.FindIndex(match);