File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -163,9 +163,13 @@ z2 = [8. 2. 3. 1.; 24. 10. -1. -1.; 20. 12. 1. -2.]
163
163
@test span (skipmissing ([1 , missing , 5 , missing ])) == 1 : 5
164
164
165
165
@test variation ([1 : 5 ;]) ≈ 0.527046276694730
166
+ @test variation ([1 : 5 ;]; corrected= false ) ≈ 0.471404520791032
166
167
@test variation (skipmissing ([missing ; 1 : 5 ; missing ])) ≈ 0.527046276694730
167
168
@test isnan (variation (1 ))
168
- @test variation (1 ; corrected = false ) == 0
169
+ @test variation (1 ; corrected= false ) == 0
170
+ # Possibly deprecated
171
+ @test variation ([1 : 5 ;],4 ) ≈ 0.4841229182759271
172
+ @test variation ([1 : 5 ;],4 ; corrected= false ) ≈ 0.4330127018922193
169
173
170
174
@test @inferred (sem ([1 : 5 ;])) ≈ 0.707106781186548
171
175
@test @inferred (sem (skipmissing ([missing ; 1 : 5 ; missing ]))) ≈ 0.707106781186548
You can’t perform that action at this time.
0 commit comments