Hamcrest-Qt
0.0.1
Hamcrest matchers for C++/Qt
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Documents
GitHub
Hamcrest-Qt
src
core
matcher
areequal_p.h
1
#ifndef HAMCRESTQT_AREEQUAL_P_H
2
#define HAMCRESTQT_AREEQUAL_P_H
3
4
namespace
HamcrestQt {
5
6
template
<
typename
T>
7
inline
bool
AreEqual(
const
T &actual,
const
T &expected)
8
{
9
return
actual == expected;
10
}
11
12
inline
bool
AreEqual(
const
char
*actual,
const
char
*expected)
13
{
14
return ::strcmp(actual, expected) == 0;
15
}
16
17
}
// namespace HamcrestQt
18
19
#endif // HAMCRESTQT_AREEQUAL_P_H
Generated on Wed Dec 11 2013 19:12:52 for Hamcrest-Qt by
1.8.5