|MainTestFixture is a base class for Catch fixtures for mlpack binding tests. More...|
|Define a test fixture for an mlpack binding test with the name given as |
|#define||RUN_BINDING() BINDING_FUNCTION(params, timers)|
|Run the binding. More...|
Implementation of MainTestFixture, the base class for the test fixture for all main classes. This also defines the MAIN_TEST_FIXTURE() convenience macro.
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.
Definition in file main_test_fixture.hpp.
Define a test fixture for an mlpack binding test with the name given as
This fixture has all the same methods as
MainTestFixture and can be used to set input parameters for a binding test. When all the parameters are set, use the
RUN_BINDING() macro to actually run the binding.
Before calling this macro, make sure the
BINDING_NAME macro is defined appropriately. This is generally done simply by including the binding's