Skip to content

Commit effecca

Browse files
committed
test: add more tests
--- 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 c9f071c commit effecca

File tree

4 files changed

+130
-417
lines changed

4 files changed

+130
-417
lines changed

lib/node_modules/@stdlib/math/base/special/gammainc/test/fixtures/cpp/large_x_large_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/runner.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,13 @@ int main( void ) {
361361
rand_array_f64( s, len, 50.0, 100.0 );
362362
generate( x, s, len, "large_x_medium_s.json" );
363363

364+
// Large x and large s:
365+
366+
// NOTE: The following fixture generation is commented out as its generation was handled manually to avoid the overflowing of the gamma function for large values of `x` and `s`. If you wish to generate this fixture, you can uncomment the following lines and need to ensure proper exception handling in the `generate` function to handle potential overflow errors.
367+
// rand_array_f64( x, len, 100.0, 1000.0 );
368+
// rand_array_f64( s, len, 100.0, 1000.0 );
369+
// generate( x, s, len, "large_x_large_s.json" );
370+
364371
// Free allocated memory:
365372
free( x );
366373
free( s );

0 commit comments

Comments
 (0)