File tree Expand file tree Collapse file tree
lib/node_modules/@stdlib/stats/base/ndarray/sdsnanmeanors/test Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -121,13 +121,13 @@ tape( 'the function supports one-dimensional ndarrays having non-unit strides',
121121
122122 x = new Float32Array ( [
123123 1.0 , // 0
124- 2.0 ,
124+ NaN ,
125125 2.0 , // 1
126- - 7.0 ,
126+ NaN ,
127127 - 2.0 , // 2
128- 3.0 ,
128+ NaN ,
129129 4.0 , // 3
130- 2.0
130+ NaN
131131 ] ) ;
132132
133133 v = sdsnanmeanors ( [ vector ( x , 4 , 2 , 0 ) ] ) ;
@@ -177,24 +177,3 @@ tape( 'the function supports one-dimensional ndarrays having non-zero offsets',
177177
178178 t . end ( ) ;
179179} ) ;
180-
181- tape ( 'the function ignores NaN values in non-unit stride arrays' , function test ( t ) {
182- var x ;
183- var v ;
184-
185- x = new Float32Array ( [
186- 1.0 , // 0
187- NaN ,
188- 2.0 , // 1
189- NaN ,
190- - 2.0 , // 2
191- NaN ,
192- 4.0 , // 3
193- NaN
194- ] ) ;
195-
196- v = sdsnanmeanors ( [ vector ( x , 4 , 2 , 0 ) ] ) ;
197-
198- t . strictEqual ( v , 1.25 , 'returns expected value' ) ;
199- t . end ( ) ;
200- } ) ;
You can’t perform that action at this time.
0 commit comments