diff options
Diffstat (limited to 'tests/src/test_gensvm_copy.c')
| -rw-r--r-- | tests/src/test_gensvm_copy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/src/test_gensvm_copy.c b/tests/src/test_gensvm_copy.c index ff5b86d..c9acf23 100644 --- a/tests/src/test_gensvm_copy.c +++ b/tests/src/test_gensvm_copy.c @@ -38,6 +38,7 @@ char *test_copy_model_linear() from_model->kappa = 1.0; from_model->weight_idx = 2; from_model->kerneltype = K_LINEAR; + from_model->max_iter = 100; gensvm_copy_model(from_model, to_model); @@ -48,6 +49,7 @@ char *test_copy_model_linear() mu_assert(to_model->weight_idx == 2, "to_model->weight_idx incorrect."); mu_assert(to_model->kerneltype == K_LINEAR, "to->kerneltype incorrect"); + mu_assert(to_model->max_iter == 100, "to->max_iter incorrect"); gensvm_free_model(from_model); gensvm_free_model(to_model); |
