mlpack
Classes | Macros | Functions
emst_test.cpp File Reference
#include <string>
#include <mlpack/core.hpp>
#include <mlpack/core/util/mlpack_main.hpp>
#include <mlpack/methods/emst/emst_main.cpp>
#include "test_helper.hpp"
#include "../catch.hpp"
#include <boost/math/special_functions/round.hpp>
Include dependency graph for emst_test.cpp:

Classes

struct  EMSTTestFixture
 

Macros

#define BINDING_TYPE   BINDING_TYPE_TEST
 

Functions

 TEST_CASE_METHOD (EMSTTestFixture, "EMSTOutputDimensionTest", "[EMSTMainTest][BindingTests]")
 Make sure that Output has 3 Dimensions and check the number of output edges.
 
 TEST_CASE_METHOD (EMSTTestFixture, "EMSTNaiveOutputDimensionTest", "[EMSTMainTest][BindingTests]")
 Check Naive algorithm Output has 3 Dimensions and check the number of output edges.
 
 TEST_CASE_METHOD (EMSTTestFixture, "EMSTInvalidLeafSizeTest", "[EMSTMainTest][BindingTests]")
 Ensure that we can't specify an invalid leaf size.
 
 TEST_CASE_METHOD (EMSTTestFixture, "EMSTFirstTwoOutputRowsIntegerTest", "[EMSTMainTest][BindingTests]")
 Check that all elements of first two output rows are close to integers.
 

Detailed Description

Author
Manish Kumar

Test mlpackMain() of emst_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.