mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
More C++ification.
"> >" -> ">>" "> > >" -> ">>>" Change-Id: Id1ddd9dbf030fe21d57207741b4ca8403068e55b
This commit is contained in:
@@ -111,7 +111,8 @@ TEST(Degree2MaximumSpanningForest, PreserveWeights) {
|
||||
graph.AddEdge(0, 1, 0.5);
|
||||
graph.AddEdge(1, 0, 0.5);
|
||||
|
||||
std::unique_ptr<WeightedGraph<int> > forest(Degree2MaximumSpanningForest(graph));
|
||||
std::unique_ptr<WeightedGraph<int> > forest(
|
||||
Degree2MaximumSpanningForest(graph));
|
||||
|
||||
const std::unordered_set<int>& vertices = forest->vertices();
|
||||
EXPECT_EQ(vertices.size(), 2);
|
||||
|
||||
Reference in New Issue
Block a user