ppforest2 v0.1.0
Projection Pursuit Decision Trees and Random Forests
Loading...
Searching...
No Matches
ThrowsWith.hpp File Reference
#include <gtest/gtest.h>
#include <functional>
#include <stdexcept>
#include <string>

Go to the source code of this file.

Namespaces

namespace  ppforest2
 Binarization strategies for multiclass-to-binary reduction.
 
namespace  ppforest2::test
 

Functions

inline ::testing::AssertionResult ppforest2::test::throws_with (std::function< void()> const &fn, std::string const &needle)
 gtest assertion: fn throws a std::runtime_error whose what() contains needle.