#include "gtest/gtest.h"
#include "TrigHLTJetHypo/../src/CombinationsGenerator.h"
#include <vector>
Go to the source code of this file.
|
| using | vec = std::vector<size_t> |
|
| | TEST (CombinationsGeneratorTester, n3k1) |
| | TEST (CombinationsGeneratorTester, n3k2) |
| | TEST (CombinationsGeneratorTester, n3k3) |
| | TEST (CombinationsGeneratorTester, n3k0) |
| | TEST (CombinationsGeneratorTester, n3k4) |
◆ vec
| using vec = std::vector<size_t> |
◆ TEST() [1/5]
| TEST |
( |
CombinationsGeneratorTester | , |
|
|
n3k0 | ) |
Definition at line 42 of file CombinationsGeneratorTest.cxx.
42 {
45 EXPECT_EQ (v0,
gen.get());
46 EXPECT_EQ (
true,
gen.bump());
47}
std::vector< size_t > vec
generate all possible combinations of objects
◆ TEST() [2/5]
| TEST |
( |
CombinationsGeneratorTester | , |
|
|
n3k1 | ) |
◆ TEST() [3/5]
| TEST |
( |
CombinationsGeneratorTester | , |
|
|
n3k2 | ) |
Definition at line 22 of file CombinationsGeneratorTest.cxx.
22 {
27 EXPECT_EQ (v0,
gen.get());
28 EXPECT_EQ (
false,
gen.bump());
29 EXPECT_EQ (v1,
gen.get());
30 EXPECT_EQ (
false,
gen.bump());
31 EXPECT_EQ (v2,
gen.get());
32 EXPECT_EQ (
true,
gen.bump());
33}
◆ TEST() [4/5]
| TEST |
( |
CombinationsGeneratorTester | , |
|
|
n3k3 | ) |
◆ TEST() [5/5]
| TEST |
( |
CombinationsGeneratorTester | , |
|
|
n3k4 | ) |