We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87ea6fe commit 799f632Copy full SHA for 799f632
1 file changed
lib/node_modules/@stdlib/stats/base/ndarray/sdsnanmeanors/test/test.js
@@ -69,9 +69,9 @@ tape( 'the function calculates the arithmetic mean of a one-dimensional ndarray'
69
v = sdsnanmeanors( [ vector( x, 2, 1, 0 ) ] );
70
t.strictEqual( v, -4.5, 'returns expected value' );
71
72
- x = new Float32Array( [ 1.0, -2.0, NaN, 2.0 ] );
+ x = new Float32Array( [ 1.0, -2.0, NaN, 4.0 ] );
73
v = sdsnanmeanors( [ vector( x, 4, 1, 0 ) ] );
74
- t.ok( v >= 0.333 && v <= 0.334, 'returns expected value' );
+ t.strictEqual( v, 1.0, 'returns expected value' );
75
76
t.end();
77
});
0 commit comments