Belle II Software development
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
13using namespace Belle2;
14using namespace TrackFindingCDC;
15
16namespace {
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}
Abstract base class for different kinds of events.