Ocean
Loading...
Searching...
No Matches
TestLocalizedObjectPoint.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7
8#ifndef META_OCEAN_TEST_TESTTRACKING_TESTSLAM_TEST_LOCALIZED_OBJECT_POINT_H
9#define META_OCEAN_TEST_TESTTRACKING_TESTSLAM_TEST_LOCALIZED_OBJECT_POINT_H
10
12
14
16
18
19namespace Ocean
20{
21
22namespace Test
23{
24
25namespace TestTracking
26{
27
28namespace TestSLAM
29{
30
31/**
32 * This class implements LocalizedObjectPoint tests.
33 * @ingroup testtrackingtestslam
34 */
35class OCEAN_TEST_TRACKING_SLAM_EXPORT TestLocalizedObjectPoint
36{
37 public:
38
39 /**
40 * Executes all LocalizedObjectPoint tests.
41 * @param testDuration Number of seconds for each test
42 * @param selector The test selector
43 * @return True, if succeeded
44 */
45 static bool test(const double testDuration, const TestSelector& selector);
46
47 /**
48 * Tests the constructor from PointTrack.
49 * @param testDuration Number of seconds for each test
50 * @return True, if succeeded
51 */
52 static bool testConstructor(const double testDuration);
53
54 /**
55 * Tests the constructor with known position.
56 * @param testDuration Number of seconds for each test
57 * @return True, if succeeded
58 */
59 static bool testConstructorWithPosition(const double testDuration);
60
61 /**
62 * Tests the addObservation function.
63 * @param testDuration Number of seconds for each test
64 * @return True, if succeeded
65 */
66 static bool testAddObservation(const double testDuration);
67
68 /**
69 * Tests the removeObservation function.
70 * @param testDuration Number of seconds for each test
71 * @return True, if succeeded
72 */
73 static bool testRemoveObservation(const double testDuration);
74
75 /**
76 * Tests the hasObservation function.
77 * @param testDuration Number of seconds for each test
78 * @return True, if succeeded
79 */
80 static bool testHasObservation(const double testDuration);
81
82 /**
83 * Tests the observation function.
84 * @param testDuration Number of seconds for each test
85 * @return True, if succeeded
86 */
87 static bool testObservation(const double testDuration);
88
89 /**
90 * Tests the position getter and setter.
91 * @param testDuration Number of seconds for each test
92 * @return True, if succeeded
93 */
94 static bool testPosition(const double testDuration);
95};
96
97}
98
99}
100
101}
102
103}
104
105#endif // META_OCEAN_TEST_TESTTRACKING_TESTSLAM_TEST_LOCALIZED_OBJECT_POINT_H
This class implements a test selector that parses test function strings and determines which tests sh...
Definition TestSelector.h:51
This class implements LocalizedObjectPoint tests.
Definition TestLocalizedObjectPoint.h:36
static bool testRemoveObservation(const double testDuration)
Tests the removeObservation function.
static bool testConstructor(const double testDuration)
Tests the constructor from PointTrack.
static bool testConstructorWithPosition(const double testDuration)
Tests the constructor with known position.
static bool test(const double testDuration, const TestSelector &selector)
Executes all LocalizedObjectPoint tests.
static bool testObservation(const double testDuration)
Tests the observation function.
static bool testHasObservation(const double testDuration)
Tests the hasObservation function.
static bool testPosition(const double testDuration)
Tests the position getter and setter.
static bool testAddObservation(const double testDuration)
Tests the addObservation function.
The namespace covering the entire Ocean framework.
Definition Accessor.h:15