示例#1
0
 public static void TestFindAll <Index2DCollection, FloatPredicate>(
     RefMatrix4x4 matrix, FloatPredicate match, Index2DCollection expected)
     where Index2DCollection : ICollection <Index2D>, new()
     where FloatPredicate : struct, IPredicate <float>
 => CollectionAssert.AreEqual(expected, matrix.FindAllIndices <
                                  float, Index2DCollection, RefMatrix4x4, FloatPredicate>(match));