MCPcopy Create free account
hub / github.com/Fields2Cover/Fields2Cover / TEST

Function TEST

tests/cpp/objectives/decomp_obj/decomp_obj_test.cpp:11–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9#include "fields2cover/objectives/decomp_obj/decomp_objective.h"
10
11TEST(fields2cover_obj_decomp_obj, computeCost) {
12 f2c::obj::DecompObjective obj;
13 F2CCells cells;
14 EXPECT_EQ(obj.computeCost(cells), 0.0);
15 EXPECT_TRUE(obj.isMinimizing());
16 EXPECT_FALSE(obj.isMaximizing());
17}
18

Callers

nothing calls this directly

Calls 3

isMaximizingMethod · 0.80
computeCostMethod · 0.45
isMinimizingMethod · 0.45

Tested by

no test coverage detected