Esempio n. 1
0
        private void TestMatrix(int size)
        {
            var mat = new SymmetricMatrix <int>(size);

            PRNG.Fill <int>(mat.Data);
            for (int x = 0; x < size; x++)
            {
                for (int y = 0; y < size; y++)
                {
                    Assert.AreEqual(mat[x, y], mat[y, x]);
                }
            }
        }