Skip to content

Commit 1a084bf

Browse files
authored
Apply suggestions from code review
Signed-off-by: Athan <kgryte@gmail.com>
1 parent e98be18 commit 1a084bf

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

  • lib/node_modules/@stdlib/stats/base/ndarray/smidrange/test

lib/node_modules/@stdlib/stats/base/ndarray/smidrange/test/test.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ tape( 'when provided an empty input ndarray, the function returns `NaN`', functi
9696
t.end();
9797
});
9898

99-
tape( 'when provided an input ndarray having a length equal to `1`, the function returns the first element', function test( t ) {
99+
tape( 'when provided an input ndarray containing a single element, the function returns that element', function test( t ) {
100100
var x;
101101
var v;
102102

@@ -111,7 +111,7 @@ tape( 'when provided an input ndarray having a length equal to `1`, the function
111111
t.end();
112112
});
113113

114-
tape( 'the function supports a `stride` parameter', function test( t ) {
114+
tape( 'the function supports ndarrays having positive strides', function test( t ) {
115115
var x;
116116
var v;
117117

@@ -133,7 +133,7 @@ tape( 'the function supports a `stride` parameter', function test( t ) {
133133
t.end();
134134
});
135135

136-
tape( 'the function supports a negative `stride` parameter', function test( t ) {
136+
tape( 'the function supports ndarrays having negative strides', function test( t ) {
137137
var x;
138138
var v;
139139

@@ -155,7 +155,7 @@ tape( 'the function supports a negative `stride` parameter', function test( t )
155155
t.end();
156156
});
157157

158-
tape( 'if provided a `stride` parameter equal to `0`, the function returns the first element', function test( t ) {
158+
tape( 'if provided an ndarray having a stride equal to `0`, the function returns the first element', function test( t ) {
159159
var x;
160160
var v;
161161

@@ -170,7 +170,7 @@ tape( 'if provided a `stride` parameter equal to `0`, the function returns the f
170170
t.end();
171171
});
172172

173-
tape( 'the function supports an `offset` parameter', function test( t ) {
173+
tape( 'the function supports ndarrays having non-zero offsets', function test( t ) {
174174
var x;
175175
var v;
176176

0 commit comments

Comments
 (0)