YARP
Yet Another Robot Platform
Loading...
Searching...
No Matches
TestAsserter.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3
* SPDX-License-Identifier: BSD-3-Clause
4
*/
5
6
#ifndef YARP_ROBOTTESTINGFRAMEWORK_YARPTESTASSERTER_H
7
#define YARP_ROBOTTESTINGFRAMEWORK_YARPTESTASSERTER_H
8
9
#include <
yarp/robottestingframework/api.h
>
10
#include <
yarp/sig/Vector.h
>
11
12
namespace
yarp::robottestingframework
{
13
18
class
YARP_robottestingframework_API
TestAsserter
19
{
20
public
:
21
explicit
TestAsserter
();
22
virtual
~TestAsserter
();
23
43
static
bool
isApproxEqual(
const
double
*left,
44
const
double
*right,
45
const
double
*l_thresholds,
46
const
double
*h_thresholds,
47
int
length);
48
61
static
bool
isApproxEqual(
const
double
*left,
62
const
double
*right,
63
const
double
*thresholds,
64
int
length);
65
77
static
bool
isApproxEqual(
const
yarp::sig::Vector
&left,
78
const
yarp::sig::Vector
&right,
79
const
yarp::sig::Vector
&thresholds);
80
91
static
bool
isApproxEqual(
double
left,
92
double
right,
93
double
l_th,
94
double
h_th);
95
96
private
:
97
class
Private
;
98
Private
*
const
mPriv;
99
};
100
101
102
}
// namespace yarp::robottestingframework
103
104
#endif
// YARP_ROBOTTESTINGFRAMEWORK_YARPTESTASSERTER_H
Vector.h
contains the definition of a Vector type
yarp::robottestingframework::TestAsserter::Private
Definition
TestAsserter.cpp:13
yarp::robottestingframework::TestAsserter
The yarp::robottestingframework::TestAsserter class is used to throw exception or to report messages/...
Definition
TestAsserter.h:19
yarp::sig::VectorOf< double >
yarp::robottestingframework
Definition
JointsPosMotion.h:14
api.h
YARP_robottestingframework_API
#define YARP_robottestingframework_API
Definition
api.h:17
YARP
3.11.100+20250603.4+gitaa77f8b5c
src
libYARP_robottestingframework
src
yarp
robottestingframework
TestAsserter.h
Generated on Wed Jun 4 2025 02:40:12 for YARP by
1.9.8