#include "CxxUtils/checker_macros.h"
#include "gtest/gtest.h"
#include "TrigHLTJetHypo/../src/Tree.h"
#include <vector>
#include <map>
Go to the source code of this file.
|
using | res = std::pair< std::vector< unsigned int >, bool > |
|
using | vec = std::vector< std::size_t > |
|
◆ res
using res = std::pair<std::vector<unsigned int>, bool> |
◆ vec
using vec = std::vector<std::size_t> |
◆ TEST() [1/3]
TEST |
( |
TreeTester |
, |
|
|
empty |
|
|
) |
| |
◆ TEST() [2/3]
TEST |
( |
TreeTester |
, |
|
|
notsimple |
|
|
) |
| |
Definition at line 42 of file TreeTest.cxx.
48 EXPECT_EQ(
tree.size(), 3
u);
49 EXPECT_EQ(
tree.leaves(), leaves);
50 EXPECT_FALSE(
tree.is_leaf(0
u));
51 EXPECT_FALSE(
tree.is_leaf(1
u));
52 EXPECT_TRUE(
tree.is_leaf(2
u));
54 EXPECT_FALSE(
tree.is_simple());
◆ TEST() [3/3]
TEST |
( |
TreeTester |
, |
|
|
simple |
|
|
) |
| |
Definition at line 25 of file TreeTest.cxx.
31 EXPECT_EQ(
tree.size(), 3
u);
32 EXPECT_EQ(
tree.leaves(), leaves);
33 EXPECT_FALSE(
tree.is_leaf(0
u));
34 EXPECT_TRUE(
tree.is_leaf(1
u));
35 EXPECT_TRUE(
tree.is_leaf(1
u));
37 EXPECT_TRUE(
tree.is_simple());
◆ ATLAS_NO_CHECK_FILE_THREAD_SAFETY
ATLAS_NO_CHECK_FILE_THREAD_SAFETY |