ATLAS Offline Software
Control
AthToolSupport
AsgTesting
Root
Control/AthToolSupport/AsgTesting/Root/UnitTest.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
8
9
//
10
// includes
11
//
12
13
#include <
AsgTesting/UnitTest.h
>
14
15
#include <regex>
16
17
//
18
// method implementations
19
//
20
21
namespace
asg
22
{
23
namespace
detail
24
{
25
bool
matchesRegex
(
const
std::string&
regex
,
const
std::string&
str
)
26
{
27
return
regex_search (
str
,
std::regex
(
regex
));
28
}
29
}
30
}
asg
Definition:
DataHandleTestTool.h:28
detail
Definition:
extract_histogram_tag.cxx:14
PrepareReferenceFile.regex
regex
Definition:
PrepareReferenceFile.py:43
asg::detail::matchesRegex
bool matchesRegex(const std::string ®ex, const std::string &str)
return whether str matches regex
Definition:
Control/AthToolSupport/AsgTesting/Root/UnitTest.cxx:25
str
Definition:
BTagTrackIpAccessor.cxx:11
UnitTest.h
Generated on Tue Jul 2 2024 21:32:10 for ATLAS Offline Software by
1.8.18