public void Ones_IntTypeVector_ReturnIntegerTypeNdArray() { // arrange & action var array = NumCs.Ones <int>(new[] { 2, 3, 4, 5 }); // assert Assert.IsInstanceOfType(array, typeof(NdArray <int>)); }
public void Ones_DoubleTypeVector_ReturnDoubleTypeNdArray() { // arrange & action var array = NumCs.Ones <double>(new[] { 2, 3, 4, 5 }); // assert Assert.IsInstanceOfType(array, typeof(NdArray <double>)); }