Belle II Software  release-08-01-10
EvalVariadic.test.cc
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 
9 #include <tracking/trackFindingCDC/utilities/EvalVariadic.h>
10 
11 #include <gtest/gtest.h>
12 
13 using namespace Belle2;
14 using namespace TrackFindingCDC;
15 
16 namespace {
17  TEST(TrackFindingCDCTest, utilities_EvalVariadic_TypeInTuple)
18  {
19  using TestTuple = std::tuple<float, int>;
20 
21  static_assert(TypeInTuple<float, TestTuple>::value, "Type should be in tuple");
22  static_assert(not TypeInTuple<size_t, TestTuple>::value, "Type should not be in tuple");
23  }
24 }
TEST(TestgetDetectorRegion, TestgetDetectorRegion)
Test Constructors.
Abstract base class for different kinds of events.