| 120 | } |
| 121 | |
| 122 | TEST(ReconstructionClustererController, EmptyReconstruction) { |
| 123 | SetPRNGSeed(1); |
| 124 | |
| 125 | auto reconstruction = std::make_shared<Reconstruction>(); |
| 126 | auto reconstruction_manager = std::make_shared<ReconstructionManager>(); |
| 127 | |
| 128 | ReconstructionClusteringOptions options; |
| 129 | ReconstructionClustererController controller( |
| 130 | options, reconstruction, reconstruction_manager); |
| 131 | EXPECT_NO_THROW(controller.Run()); |
| 132 | |
| 133 | // Empty reconstruction should result in no output reconstructions |
| 134 | EXPECT_EQ(reconstruction_manager->Size(), 0); |
| 135 | } |
| 136 | |
| 137 | TEST(ReconstructionClustererController, SingleCluster) { |
| 138 | SetPRNGSeed(1); |
nothing calls this directly
no test coverage detected