Skip to content

Commit c9f071c

Browse files
committed
test: use appropriate filenames for clarity
--- 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 d27d06c commit c9f071c

File tree

10 files changed

+60
-59
lines changed

10 files changed

+60
-59
lines changed

lib/node_modules/@stdlib/math/base/special/gammainc/test/fixtures/cpp/huge.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

lib/node_modules/@stdlib/math/base/special/gammainc/test/fixtures/cpp/large.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

lib/node_modules/@stdlib/math/base/special/gammainc/test/fixtures/cpp/large_x_medium_s.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

lib/node_modules/@stdlib/math/base/special/gammainc/test/fixtures/cpp/large_x_small_s.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

lib/node_modules/@stdlib/math/base/special/gammainc/test/fixtures/cpp/medium.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

lib/node_modules/@stdlib/math/base/special/gammainc/test/fixtures/cpp/output.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

lib/node_modules/@stdlib/math/base/special/gammainc/test/fixtures/cpp/runner.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,12 +354,12 @@ int main( void ) {
354354
// Large x and small s:
355355
rand_array_f64( x, len, 100.0, 1000.0 );
356356
rand_array_f64( s, len, 1.0, 50.0 );
357-
generate( x, s, len, "large.json" );
357+
generate( x, s, len, "large_x_small_s.json" );
358358

359359
// Large x and medium s:
360360
rand_array_f64( x, len, 100.0, 1000.0 );
361361
rand_array_f64( s, len, 50.0, 100.0 );
362-
generate( x, s, len, "huge.json" );
362+
generate( x, s, len, "large_x_medium_s.json" );
363363

364364
// Free allocated memory:
365365
free( x );

lib/node_modules/@stdlib/math/base/special/gammainc/test/fixtures/cpp/small.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

lib/node_modules/@stdlib/math/base/special/gammainc/test/test.js

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ var gammainc = require( './../lib' );
3232

3333
var small = require( './fixtures/cpp/small.json' );
3434
var medium = require( './fixtures/cpp/medium.json' );
35-
var large = require( './fixtures/cpp/large.json' );
36-
var huge = require( './fixtures/cpp/huge.json' );
35+
var largeXSmallS = require( './fixtures/cpp/large_x_small_s.json' );
36+
var largeXMediumS = require( './fixtures/cpp/large_x_medium_s.json' );
3737

3838

3939
// TESTS //
@@ -333,9 +333,9 @@ tape( 'the function correctly evaluates the lower incomplete gamma function for
333333
var s;
334334
var i;
335335

336-
expected = large.lower_regularized;
337-
x = large.x;
338-
s = large.s;
336+
expected = largeXSmallS.lower_regularized;
337+
x = largeXSmallS.x;
338+
s = largeXSmallS.s;
339339

340340
for ( i = 0; i < x.length; i++ ) {
341341
actual = gammainc( x[ i ], s[ i ], true, false );
@@ -363,9 +363,9 @@ tape( 'the function correctly evaluates the upper incomplete gamma function for
363363
var s;
364364
var i;
365365

366-
expected = large.upper_regularized;
367-
x = large.x;
368-
s = large.s;
366+
expected = largeXSmallS.upper_regularized;
367+
x = largeXSmallS.x;
368+
s = largeXSmallS.s;
369369

370370
for ( i = 0; i < x.length; i++ ) {
371371
actual = gammainc( x[ i ], s[ i ], true, true );
@@ -393,9 +393,9 @@ tape( 'the function correctly evaluates the unregularized lower incomplete gamma
393393
var s;
394394
var i;
395395

396-
expected = large.lower_unregularized;
397-
x = large.x;
398-
s = large.s;
396+
expected = largeXSmallS.lower_unregularized;
397+
x = largeXSmallS.x;
398+
s = largeXSmallS.s;
399399

400400
for ( i = 0; i < x.length; i++ ) {
401401
actual = gammainc( x[ i ], s[ i ], false, false );
@@ -423,9 +423,9 @@ tape( 'the function correctly evaluates the unregularized upper incomplete gamma
423423
var s;
424424
var i;
425425

426-
expected = large.upper_unregularized;
427-
x = large.x;
428-
s = large.s;
426+
expected = largeXSmallS.upper_unregularized;
427+
x = largeXSmallS.x;
428+
s = largeXSmallS.s;
429429

430430
for ( i = 0; i < x.length; i++ ) {
431431
actual = gammainc( x[ i ], s[ i ], false, true );
@@ -453,9 +453,9 @@ tape( 'the function correctly evaluates the lower incomplete gamma function for
453453
var s;
454454
var i;
455455

456-
expected = huge.lower_regularized;
457-
x = huge.x;
458-
s = huge.s;
456+
expected = largeXMediumS.lower_regularized;
457+
x = largeXMediumS.x;
458+
s = largeXMediumS.s;
459459

460460
for ( i = 0; i < x.length; i++ ) {
461461
actual = gammainc( x[ i ], s[ i ], true, false );
@@ -483,9 +483,9 @@ tape( 'the function correctly evaluates the upper incomplete gamma function for
483483
var s;
484484
var i;
485485

486-
expected = huge.upper_regularized;
487-
x = huge.x;
488-
s = huge.s;
486+
expected = largeXMediumS.upper_regularized;
487+
x = largeXMediumS.x;
488+
s = largeXMediumS.s;
489489

490490
for ( i = 0; i < x.length; i++ ) {
491491
actual = gammainc( x[ i ], s[ i ], true, true );
@@ -513,9 +513,9 @@ tape( 'the function correctly evaluates the unregularized lower incomplete gamma
513513
var s;
514514
var i;
515515

516-
expected = huge.lower_unregularized;
517-
x = huge.x;
518-
s = huge.s;
516+
expected = largeXMediumS.lower_unregularized;
517+
x = largeXMediumS.x;
518+
s = largeXMediumS.s;
519519

520520
for ( i = 0; i < x.length; i++ ) {
521521
actual = gammainc( x[ i ], s[ i ], false, false );
@@ -543,9 +543,9 @@ tape( 'the function correctly evaluates the unregularized upper incomplete gamma
543543
var s;
544544
var i;
545545

546-
expected = huge.upper_unregularized;
547-
x = huge.x;
548-
s = huge.s;
546+
expected = largeXMediumS.upper_unregularized;
547+
x = largeXMediumS.x;
548+
s = largeXMediumS.s;
549549

550550
for ( i = 0; i < x.length; i++ ) {
551551
actual = gammainc( x[ i ], s[ i ], false, true );

lib/node_modules/@stdlib/math/base/special/gammainc/test/test.native.js

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ var opts = {
4141

4242
var small = require( './fixtures/cpp/small.json' );
4343
var medium = require( './fixtures/cpp/medium.json' );
44-
var large = require( './fixtures/cpp/large.json' );
45-
var huge = require( './fixtures/cpp/huge.json' );
44+
var largeXSmallS = require( './fixtures/cpp/large_x_small_s.json' );
45+
var largeXMediumS = require( './fixtures/cpp/large_x_medium_s.json' );
4646

4747

4848
// TESTS //
@@ -342,9 +342,9 @@ tape( 'the function correctly evaluates the lower incomplete gamma function for
342342
var s;
343343
var i;
344344

345-
expected = large.lower_regularized;
346-
x = large.x;
347-
s = large.s;
345+
expected = largeXSmallS.lower_regularized;
346+
x = largeXSmallS.x;
347+
s = largeXSmallS.s;
348348

349349
for ( i = 0; i < x.length; i++ ) {
350350
actual = gammainc( x[ i ], s[ i ], true, false );
@@ -372,9 +372,9 @@ tape( 'the function correctly evaluates the upper incomplete gamma function for
372372
var s;
373373
var i;
374374

375-
expected = large.upper_regularized;
376-
x = large.x;
377-
s = large.s;
375+
expected = largeXSmallS.upper_regularized;
376+
x = largeXSmallS.x;
377+
s = largeXSmallS.s;
378378

379379
for ( i = 0; i < x.length; i++ ) {
380380
actual = gammainc( x[ i ], s[ i ], true, true );
@@ -402,9 +402,9 @@ tape( 'the function correctly evaluates the unregularized lower incomplete gamma
402402
var s;
403403
var i;
404404

405-
expected = large.lower_unregularized;
406-
x = large.x;
407-
s = large.s;
405+
expected = largeXSmallS.lower_unregularized;
406+
x = largeXSmallS.x;
407+
s = largeXSmallS.s;
408408

409409
for ( i = 0; i < x.length; i++ ) {
410410
actual = gammainc( x[ i ], s[ i ], false, false );
@@ -432,9 +432,9 @@ tape( 'the function correctly evaluates the unregularized upper incomplete gamma
432432
var s;
433433
var i;
434434

435-
expected = large.upper_unregularized;
436-
x = large.x;
437-
s = large.s;
435+
expected = largeXSmallS.upper_unregularized;
436+
x = largeXSmallS.x;
437+
s = largeXSmallS.s;
438438

439439
for ( i = 0; i < x.length; i++ ) {
440440
actual = gammainc( x[ i ], s[ i ], false, true );
@@ -462,9 +462,9 @@ tape( 'the function correctly evaluates the lower incomplete gamma function for
462462
var s;
463463
var i;
464464

465-
expected = huge.lower_regularized;
466-
x = huge.x;
467-
s = huge.s;
465+
expected = largeXMediumS.lower_regularized;
466+
x = largeXMediumS.x;
467+
s = largeXMediumS.s;
468468

469469
for ( i = 0; i < x.length; i++ ) {
470470
actual = gammainc( x[ i ], s[ i ], true, false );
@@ -492,9 +492,9 @@ tape( 'the function correctly evaluates the upper incomplete gamma function for
492492
var s;
493493
var i;
494494

495-
expected = huge.upper_regularized;
496-
x = huge.x;
497-
s = huge.s;
495+
expected = largeXMediumS.upper_regularized;
496+
x = largeXMediumS.x;
497+
s = largeXMediumS.s;
498498

499499
for ( i = 0; i < x.length; i++ ) {
500500
actual = gammainc( x[ i ], s[ i ], true, true );
@@ -522,9 +522,9 @@ tape( 'the function correctly evaluates the unregularized lower incomplete gamma
522522
var s;
523523
var i;
524524

525-
expected = huge.lower_unregularized;
526-
x = huge.x;
527-
s = huge.s;
525+
expected = largeXMediumS.lower_unregularized;
526+
x = largeXMediumS.x;
527+
s = largeXMediumS.s;
528528

529529
for ( i = 0; i < x.length; i++ ) {
530530
actual = gammainc( x[ i ], s[ i ], false, false );
@@ -552,9 +552,9 @@ tape( 'the function correctly evaluates the unregularized upper incomplete gamma
552552
var s;
553553
var i;
554554

555-
expected = huge.upper_unregularized;
556-
x = huge.x;
557-
s = huge.s;
555+
expected = largeXMediumS.upper_unregularized;
556+
x = largeXMediumS.x;
557+
s = largeXMediumS.s;
558558

559559
for ( i = 0; i < x.length; i++ ) {
560560
actual = gammainc( x[ i ], s[ i ], false, true );

0 commit comments

Comments
 (0)