tests
cpp
objectives
pp_obj
pp_obj_test.cpp
Go to the documentation of this file.
1
//=============================================================================
2
// Copyright (C) 2021-2024 Wageningen University - All Rights Reserved
3
// Author: Gonzalo Mier
4
// BSD-3 License
5
//=============================================================================
6
7
#include <gtest/gtest.h>
8
#include "
fields2cover/types.h
"
9
#include "
fields2cover/objectives/pp_obj/pp_objective.h
"
10
11
TEST
(fields2cover_obj_pp_obj, isMinimizing) {
12
f2c::obj::PPObjective
obj
;
13
EXPECT_TRUE(
obj
.isMinimizing());
14
EXPECT_FALSE(
obj
.isMaximizing());
15
}
16
types.h
TEST
TEST(fields2cover_obj_pp_obj, isMinimizing)
Definition:
pp_obj_test.cpp:11
7_decomposition.obj
obj
Definition:
7_decomposition.py:32
pp_objective.h
f2c::obj::PPObjective
Base class for objective functions of path planners.
Definition:
pp_objective.h:18
fields2cover
Author(s):
autogenerated on Fri Apr 25 2025 02:18:31