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