mlpack
|
#include <mlpack/core.hpp>
#include <mlpack/core/tree/tree_traits.hpp>
#include <mlpack/core/tree/binary_space_tree.hpp>
#include <mlpack/core/tree/cover_tree.hpp>
#include <mlpack/core/tree/rectangle_tree.hpp>
#include "catch.hpp"
#include "test_catch_tools.hpp"
Functions | |
TEST_CASE ("DefaultsTraitsTest", "[TreeTraitsTest]") | |
TEST_CASE ("BinarySpaceTreeTraitsTest", "[TreeTraitsTest]") | |
TEST_CASE ("CoverTreeTraitsTest", "[TreeTraitsTest]") | |
Tests for the TreeTraits class. These could all be known at compile-time, but realistically the function is to be sure that nobody changes tree traits without breaking something. Thus, people must be certain when they make a change like that (because they have to change the test too). That's the hope, at least...
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.