Skip to content

Commit f51b7b2

Browse files
committed
test: update tests to match valid domain of acovercos
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent e525deb commit f51b7b2

File tree

1 file changed

+5
-5
lines changed
  • lib/node_modules/@stdlib/math/iter/special/acovercos/test

1 file changed

+5
-5
lines changed

lib/node_modules/@stdlib/math/iter/special/acovercos/test/test.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ tape( 'the function returns an iterator protocol-compliant object', function tes
7070
var r;
7171
var i;
7272

73-
it = iterAcovercos( uniform( -2.0, 0.0 ) );
73+
it = iterAcovercos( uniform( 0.0, 2.0 ) );
7474
t.equal( it.next.length, 0, 'has zero arity' );
7575

7676
for ( i = 0; i < 100; i++ ) {
@@ -90,10 +90,10 @@ tape( 'the function returns an iterator protocol-compliant object which computes
9090
var i;
9191

9292
N = 101;
93-
it = iterAcovercos( linspace( -2.0, 0.0, N ) );
93+
it = iterAcovercos( linspace( 0.0, 2.0, N ) );
9494
t.equal( it.next.length, 0, 'has zero arity' );
9595

96-
x = linspace( -2.0, 0.0, N );
96+
x = linspace( 0.0, 2.0, N );
9797
for ( i = 0; i < N; i++ ) {
9898
r = it.next();
9999
expected = acovercos( x.next().value );
@@ -166,7 +166,7 @@ tape( 'the returned iterator has a `return` method for closing an iterator (no a
166166
var it;
167167
var r;
168168

169-
it = iterAcovercos( uniform( -2.0, 0.0 ) );
169+
it = iterAcovercos( uniform( 0.0, 2.0 ) );
170170

171171
r = it.next();
172172
t.equal( typeof r.value, 'number', 'returns a number' );
@@ -191,7 +191,7 @@ tape( 'the returned iterator has a `return` method for closing an iterator (argu
191191
var it;
192192
var r;
193193

194-
it = iterAcovercos( uniform( -2.0, 0.0 ) );
194+
it = iterAcovercos( uniform( 0.0, 2.0 ) );
195195

196196
r = it.next();
197197
t.equal( typeof r.value, 'number', 'returns a number' );

0 commit comments

Comments
 (0)