18 auto null_stream = std::unique_ptr<IJetStream>{
nullptr};
20 auto streamer = std::unique_ptr<JetStreamer> (
nullptr);
23 std::vector<std::size_t> jets0 {1, 2};
25 auto stream0 = std::make_unique<SimpleJetStream>(jets0,
26 std::move(null_stream),
29 streamer = std::make_unique<JetStreamer>(std::move(stream0));
32 }
else if (
test == 1) {
34 std::vector<std::size_t> jets_cs {5, 6, 7};
38 std::make_unique<CombinationsJetStream>(jets_cs,
39 std::move(null_stream),
43 streamer.reset(
new JetStreamer(std::move(stream0)));
45 }
else if (
test == 2) {
47 std::vector<std::size_t> jets0 {1, 2};
48 std::vector<std::size_t> jets1 {3, 4};
50 std::make_unique<SimpleJetStream>(jets1,
51 std::move(null_stream),
57 std::make_unique<SimpleJetStream>(jets0,
62 streamer.reset(
new JetStreamer(std::move(stream0)));
64 }
else if (
test == 3) {
66 std::vector<std::size_t> jets_cs {5, 6, 7};
68 std::vector<std::size_t> jets0 {1, 2};
73 std::make_unique<CombinationsJetStream>(jets_cs,
74 std::move(null_stream),
81 std::make_unique<SimpleJetStream>(jets0,
86 streamer.reset(
new JetStreamer(std::move(stream0)));
88 }
else if (
test == 4) {
90 std::vector<std::size_t> jets_cs {5, 6, 7};
92 std::vector<std::size_t> jets0 {1, 2};
96 std::make_unique<SimpleJetStream>(jets0,
97 std::move(null_stream),
103 std::make_unique<CombinationsJetStream>(jets_cs,
109 streamer.reset(
new JetStreamer(std::move(stream0)));
111 }
else if (
test == 5) {
114 std::vector<std::size_t> jets_cs {5, 6, 7};
116 std::vector<std::size_t> jets0 {1, 2};
117 std::vector<std::size_t> jets1 {3, 4};
120 std::make_unique<SimpleJetStream>(jets1,
121 std::move(null_stream),
126 std::make_unique<CombinationsJetStream>(jets_cs,
134 std::make_unique<SimpleJetStream>(jets0,
139 streamer.reset(
new JetStreamer(std::move(stream0)));
142 }
else if (
test == 6) {
145 std::vector<std::size_t> jets_cs {};
147 std::vector<std::size_t> jets0 {1, 2};
148 std::vector<std::size_t> jets1 {3, 4};
151 std::make_unique<SimpleJetStream>(jets1,
152 std::move(null_stream),
157 std::make_unique<CombinationsJetStream>(jets_cs,
165 std::make_unique<SimpleJetStream>(jets0,
170 streamer.reset(
new JetStreamer(std::move(stream0)));
173 }
else if (
test == 7) {
176 std::vector<std::size_t> jets_cs {5, 6, 7};
178 std::vector<std::size_t> jets0 {1, 2};
179 std::vector<std::size_t> jets1 {3, 4};
182 std::make_unique<SimpleJetStream>(jets1,
183 std::move(null_stream),
188 std::make_unique<CombinationsJetStream>(jets_cs,
196 std::make_unique<SimpleJetStream>(jets0,
201 streamer.reset(
new JetStreamer(std::move(stream0)));
204 }
else if (
test == 8) {
206 auto stream0 = std::unique_ptr<IJetStream>(
nullptr);
207 streamer.reset(
new JetStreamer(std::move(stream0)));
210 std::cerr <<
"unknown test << " <<
test <<
'\n';