Skip to content

Commit b44ccf5

Browse files
committed
Update test values
1 parent de6a5d4 commit b44ccf5

File tree

1 file changed

+22
-2
lines changed
  • lib/node_modules/@stdlib/stats/incr/mmax/test

1 file changed

+22
-2
lines changed

lib/node_modules/@stdlib/stats/incr/mmax/test/test.js

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,29 @@ tape( 'if provided `NaN`, the accumulated value is `NaN` for at least `W` invoca
156156
NaN, // 3.14, 3.14, NaN
157157
3.14, // 3.14, NaN, 3.14
158158
3.14, // NaN, 3.14, 3.14
159-
3.14 // 3.14, 3.14, 3.14
159+
3.14, // 3.14, 3.14, 3.14
160+
NaN, // 3.14, 3.14, NaN
161+
3.14, // 3.14, NaN, 3.14
162+
3.14, // NaN, 3.14, 3.14
163+
NaN // 3.14, NaN, 3.14
164+
];
165+
expected = [
166+
NaN,
167+
NaN,
168+
NaN,
169+
NaN,
170+
NaN,
171+
NaN,
172+
3.14,
173+
NaN,
174+
NaN,
175+
NaN,
176+
3.14,
177+
NaN,
178+
NaN,
179+
NaN,
180+
NaN
160181
];
161-
expected = [ NaN, NaN, NaN, NaN, NaN, NaN, 3.14, NaN, NaN, NaN, 3.14 ];
162182
for ( i = 0; i < data.length; i++ ) {
163183
v = acc( data[ i ] );
164184
if ( isnan( expected[ i ] ) ) {

0 commit comments

Comments
 (0)