1#include "DecisionForestRuntimeTest.h"
3#include "gtest/gtest.h"
8TEST(DecisionForestRuntime, Evaluate) {
9 using Example = ::ns1::ns2::test::Example;
11 using ::ns1::ns2::test::Evaluate;
16 E.setACategorical(Cat::A);
17 EXPECT_EQ(Evaluate(
E), 15.0);
21 E.setACategorical(Cat::B);
22 EXPECT_EQ(Evaluate(
E), -15.0);
25 E.setACategorical(Cat::C);
26 EXPECT_EQ(Evaluate(
E), -3.0);
TEST(BackgroundQueueTest, Priority)
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//