private static IEnumerable <TestCaseData> GetColumnTestCases()
            {
                var matrix = RefReadOnlyMatrix4x4.FromSystem2DArray(
                    new float[, ] {
                    { 1, 2, 3, 4 },
                    { 9, 8, 7, 6 },
                    { 3, 6, 12, 24 },
                    { 5, 25, 125, 625 }
                });

                var firstColumn = new RefReadOnlyColumn <float, RefReadOnlyMatrix4x4>(
                    RefReadOnlyMatrix4x4.FromSystem2DArray(
                        new float[, ] {
                    { 1, 0, 0, 0 },
                    { 9, 0, 0, 0 },
                    { 3, 0, 0, 0 },
                    { 5, 0, 0, 0 }
                }), 0);

                var lastColumn = new RefReadOnlyColumn <float, RefReadOnlyMatrix4x4>(
                    RefReadOnlyMatrix4x4.FromSystem2DArray(
                        new float[, ] {
                    { 4, 0, 0, 0 },
                    { 6, 0, 0, 0 },
                    { 24, 0, 0, 0 },
                    { 625, 0, 0, 0 }
                }), 0);

                yield return(new TestCaseData(matrix, 0, firstColumn));

                yield return(new TestCaseData(matrix, 3, lastColumn));
            }
 public static void GetColumnTest(
     RefReadOnlyMatrix4x4 matrix,
     int index,
     RefReadOnlyColumn <float, RefReadOnlyMatrix4x4> expected)
 => CollectionAssert.AreEqual(
     expected, matrix.GetColumn <float, RefReadOnlyMatrix4x4>(index));