Пример #1
0
 public void ArgumentExceptionIsThrownInPackedConstructorWithInvalidLength()
 {
     int invalid = 5; /* should trigger bad shape for construction with val */
     var a = new GeneralMatrix(columnwise, invalid);
     Assert.Inconclusive(a.ToString());
 }
Пример #2
0
 public void ArgumentExceptionIsThrownInConstructorWithRaggedInputArray()
 {
     double[][] array = { new[] { 1.0, 4.0, 7.0 }, new[] { 2.0, 5.0, 8.0, 11.0 }, new[] { 3.0, 6.0, 9.0, 12.0 } };
     var a = new GeneralMatrix(array);
     Assert.Inconclusive(a.ToString());
 }