Skip to content

Commit 49227ca

Browse files
committed
test: removed redundant test cases
remove the output.json and it's fixtures and test cases, because it ranged from [1, 40] but medium_range had fixtures from [0,100] so no point in keeping output.json fixtures --- 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: na - 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: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 5281ab1 commit 49227ca

File tree

1 file changed

+0
-22
lines changed
  • lib/node_modules/@stdlib/math/base/special/kernel-betainc/test/fixtures/cpp

1 file changed

+0
-22
lines changed

lib/node_modules/@stdlib/math/base/special/kernel-betainc/test/fixtures/cpp/runner.cpp

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -662,28 +662,6 @@ void generate_large_asym( const char *name ) {
662662
* Main execution sequence.
663663
*/
664664
int main( void ) {
665-
unsigned int len;
666-
double *x;
667-
double *a;
668-
double *b;
669-
670-
len = 1000;
671-
x = (double*) malloc( len * sizeof(double) );
672-
a = (double*) malloc( len * sizeof(double) );
673-
b = (double*) malloc( len * sizeof(double) );
674-
if ( x == NULL || a == NULL || b == NULL ) {
675-
printf( "Error allocating memory.\n" );
676-
exit( 1 );
677-
}
678-
rand_array_f64( x, len, 0.001, 0.999 );
679-
rand_array_f64( a, len, 1.0, 40.0 );
680-
rand_array_f64( b, len, 1.0, 40.0 );
681-
generate( x, a, b, len, "output.json" );
682-
683-
free( x );
684-
free( a );
685-
free( b );
686-
687665
generate_small( "small_range.json" );
688666

689667
generate_medium( "medium_range.json" );

0 commit comments

Comments
 (0)