#include "CxxUtils/checker_macros.h"
#include "gtest/gtest.h"
#include "TrigHLTJetHypo/../src/ProductGen.h"
#include <vector>
Go to the source code of this file.
|
using | res = std::pair< std::vector< unsigned int >, bool > |
|
using | vec = std::vector< unsigned int > |
|
|
| TEST (ProductGenTester, noargs) |
|
| TEST (ProductGenTester, empty) |
|
| TEST (ProductGenTester, zeroend) |
|
| TEST (ProductGenTester, ends12) |
|
◆ res
using res = std::pair<std::vector<unsigned int>, bool> |
◆ vec
using vec = std::vector<unsigned int> |
◆ TEST() [1/4]
TEST |
( |
ProductGenTester |
, |
|
|
empty |
|
|
) |
| |
Definition at line 20 of file ProductGenTest.cxx.
21 std::vector<std::size_t> ends;
23 EXPECT_TRUE(
gen.next().empty());
◆ TEST() [2/4]
TEST |
( |
ProductGenTester |
, |
|
|
ends12 |
|
|
) |
| |
Definition at line 34 of file ProductGenTest.cxx.
37 std::vector<std::size_t>
exp{0, 0};
38 EXPECT_EQ(
gen.next(),
exp);
40 exp = std::vector<std::size_t>{1, 0};
41 EXPECT_EQ(
gen.next(),
exp);
43 exp = std::vector<std::size_t>{0, 1};
44 EXPECT_EQ(
gen.next(),
exp);
46 exp = std::vector<std::size_t>{1, 1};
47 EXPECT_EQ(
gen.next(),
exp);
49 exp = std::vector<std::size_t>{0, 2};
50 EXPECT_EQ(
gen.next(),
exp);
52 exp = std::vector<std::size_t>{1, 2};
53 EXPECT_EQ(
gen.next(),
exp);
55 EXPECT_TRUE(
gen.next().empty());
◆ TEST() [3/4]
TEST |
( |
ProductGenTester |
, |
|
|
noargs |
|
|
) |
| |
◆ TEST() [4/4]
TEST |
( |
ProductGenTester |
, |
|
|
zeroend |
|
|
) |
| |
◆ ATLAS_NO_CHECK_FILE_THREAD_SAFETY
ATLAS_NO_CHECK_FILE_THREAD_SAFETY |