| 9 | #include "fields2cover/objectives/sg_obj/sg_objective.h" |
| 10 | |
| 11 | TEST(fields2cover_obj_sg_obj, get_best_value) { |
| 12 | F2CSwaths swaths3 (2); |
| 13 | f2c::obj::SGObjective obj; |
| 14 | EXPECT_EQ(obj.computeCost(swaths3), 0); |
| 15 | |
| 16 | for (int i = 0; i < 10; ++i) { |
| 17 | swaths3.emplace_back(F2CSwath()); |
| 18 | EXPECT_EQ(obj.computeCost(swaths3), 0); |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | TEST(fields2cover_obj_sg_obj, computeCost_cost) { |
| 23 | F2CSwath swath1 (1); |
nothing calls this directly
no test coverage detected