예제 #1
0
 public void IdenMatrix2()
 {
     Assert.AreEqual(TS.CreateIdentityMatrix(3), TS.CreateMatrix(new int[, ]
     {
         { 1, 0, 0 },
         { 0, 1, 0 },
         { 0, 0, 1 }
     }));
 }
예제 #2
0
 public void IdenMatrix1()
 {
     Assert.AreEqual(TS.CreateIdentityMatrix(1), TS.CreateMatrix(new int[, ] {
         { 1 }
     }));
 }