mlpack
|
#include <string>
#include <mlpack/core.hpp>
#include <mlpack/core/util/mlpack_main.hpp>
#include "test_helper.hpp"
#include <mlpack/methods/bayesian_linear_regression/bayesian_linear_regression_main.cpp>
#include "../test_catch_tools.hpp"
#include "../catch.hpp"
Classes | |
struct | BRTestFixture |
Macros | |
#define | BINDING_TYPE BINDING_TYPE_TEST |
Functions | |
TEST_CASE_METHOD (BRTestFixture, "BRCenter0Scale0", "[BayesianLinearRegressionMainTest][BindingTests]") | |
Check the center and scale options. | |
TEST_CASE_METHOD (BRTestFixture, "BayesianLinearRegressionSavedEqualCode", "[BayesianLinearRegressionMainTest][BindingTests]") | |
Check predictions of saved model and in code model are equal. | |
TEST_CASE_METHOD (BRTestFixture, "CheckParamsPassed", "[BayesianLinearRegressionMainTest][BindingTests]") | |
Check a crash happens if neither input or input_model are specified. More... | |
Test mlpackMain() of bayesian_linear_regression_main.cpp.
mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.
TEST_CASE_METHOD | ( | BRTestFixture | , |
"CheckParamsPassed" | , | ||
"" | [BayesianLinearRegressionMainTest][BindingTests] | ||
) |
Check a crash happens if neither input or input_model are specified.
Check a crash happens if both input and input_model are specified.