Sha256: 9ee50c506efab629d37c6e5ec9599315134436f22c583ca87dc730f8fe27b1e6
Contents?: true
Size: 674 Bytes
Versions: 4
Compression:
Stored size: 674 Bytes
Contents
/* Taken from http://www.jera.com/techinfo/jtns/jtn002.html */ #include <stdio.h> #include "minunit.h" #include "problem_utils.h" #include "scs.h" /* Include Tests */ #include "problems/small_lp.h" #include "problems/rob_gauss_cov_est.h" #include "problems/small_random_socp.h" int tests_run = 0; static const char *all_tests(void) { mu_run_test(small_lp); mu_run_test(rob_gauss_cov_est); mu_run_test(small_random_socp); return 0; } int main(void) { const char *result = all_tests(); if (result != 0) { scs_printf("%s\n", result); } else { scs_printf("ALL TESTS PASSED\n"); } scs_printf("Tests run: %d\n", tests_run); return result != 0; }
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
scs-0.2.3 | vendor/scs/test/run_tests.c |
scs-0.2.2 | vendor/scs/test/run_tests.c |
scs-0.2.1 | vendor/scs/test/run_tests.c |
scs-0.2.0 | vendor/scs/test/run_tests.c |