示例#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 }
     }));
 }