Skip to content

Commit 9c3f68e

Browse files
authored
test: fix test case values
Signed-off-by: Gururaj Gurram <[email protected]>
1 parent 1a0fa8d commit 9c3f68e

File tree

1 file changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/stats/array/nanmean/test

1 file changed

+3
-3
lines changed

lib/node_modules/@stdlib/stats/array/nanmean/test/test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ tape( 'the function calculates the arithmetic mean of an array', function test(
9595

9696
x = [ 1.0, -2.0, -4.0, 5.0, 0.0, 3.0, NaN, NaN ];
9797
v = nanmean( x );
98-
t.strictEqual( v, 3.0, 'returns expected value' );
98+
t.strictEqual( v, 0.5, 'returns expected value' );
9999

100100
x = [ -4.0, NaN, -5.0 ];
101101
v = nanmean( x );
@@ -122,7 +122,7 @@ tape( 'the function calculates the arithmetic mean of an array (accessors)', fun
122122

123123
x = [ 1.0, -2.0, -4.0, 5.0, 0.0, 3.0, NaN, NaN ];
124124
v = nanmean( toAccessorArray( x ) );
125-
t.strictEqual( v, 3.0, 'returns expected value' );
125+
t.strictEqual( v, 0.5, 'returns expected value' );
126126

127127
x = [ -4.0, NaN, -5.0 ];
128128
v = nanmean( toAccessorArray( x ) );
@@ -158,7 +158,7 @@ tape( 'the function calculates the arithmetic mean of an array (array-like objec
158158
'6': 3.0
159159
};
160160
v = nanmean( x );
161-
t.strictEqual( v, 3.0, 'returns expected value' );
161+
t.strictEqual( v, 0.5, 'returns expected value' );
162162

163163
t.end();
164164
});

0 commit comments

Comments
 (0)