GenSVM
|
Unit tests for gensvm_base.c functions. More...
Go to the source code of this file.
Functions | |
char * | test_init_free_model_1 () |
char * | test_init_free_model_2 () |
char * | test_allocate_free_model () |
char * | test_reallocate_free_model () |
char * | test_init_free_data_1 () |
char * | test_init_free_data_2 () |
char * | test_init_free_data_3 () |
char * | test_init_free_work () |
void | fill_with_noise (double *ptr, int elem) |
bool | all_elements_zero (double *ptr, int elem) |
char * | test_reset_work () |
char * | all_tests () |
RUN_TESTS (all_tests) | |
Unit tests for gensvm_base.c functions.
This file is part of GenSVM.
GenSVM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
GenSVM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with GenSVM. If not, see http://www.gnu.org/licenses/.
Definition in file test_gensvm_base.c.
bool all_elements_zero | ( | double * | ptr, |
int | elem | ||
) |
Definition at line 129 of file test_gensvm_base.c.
char* all_tests | ( | ) |
void fill_with_noise | ( | double * | ptr, |
int | elem | ||
) |
Definition at line 121 of file test_gensvm_base.c.
RUN_TESTS | ( | all_tests | ) |
char* test_allocate_free_model | ( | ) |
char* test_init_free_data_1 | ( | ) |
char* test_init_free_data_2 | ( | ) |
char* test_init_free_data_3 | ( | ) |
char* test_init_free_model_1 | ( | ) |
char* test_init_free_model_2 | ( | ) |
char* test_init_free_work | ( | ) |
char* test_reallocate_free_model | ( | ) |
char* test_reset_work | ( | ) |