Belle II Software  release-05-01-25
EvalVariadic.test.cc
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Oliver Frost <oliver.frost@desy.de> *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #include <tracking/trackFindingCDC/utilities/EvalVariadic.h>
12 
13 #include <gtest/gtest.h>
14 
15 using namespace Belle2;
16 using namespace TrackFindingCDC;
17 
18 namespace {
19  TEST(TrackFindingCDCTest, utilities_EvalVariadic_TypeInTuple)
20  {
21  using TestTuple = std::tuple<float, int>;
22 
23  static_assert(TypeInTuple<float, TestTuple>::value, "Type should be in tuple");
24  static_assert(not TypeInTuple<size_t, TestTuple>::value, "Type should not be in tuple");
25  }
26 }
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TEST
TEST(TestgetDetectorRegion, TestgetDetectorRegion)
Test Constructors.
Definition: utilityFunctions.cc:18