Ocean
Loading...
Searching...
No Matches
TestFramePyramidManager.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_FRAME_PYRAMID_MANAGER_H
9#define META_OCEAN_TEST_TESTTRACKING_TESTSLAM_TEST_FRAME_PYRAMID_MANAGER_H
10
12
14
15namespace Ocean
16{
17
18namespace Test
19{
20
21namespace TestTracking
22{
23
24namespace TestSLAM
25{
26
27/**
28 * This class implements FramePyramidManager tests.
29 * @ingroup testtrackingtestslam
30 */
31class OCEAN_TEST_TRACKING_SLAM_EXPORT TestFramePyramidManager
32{
33 public:
34
35 /**
36 * Executes all FramePyramidManager tests.
37 * @param testDuration Number of seconds for each test
38 * @param selector The test selector
39 * @return True, if succeeded
40 */
41 static bool test(const double testDuration, const TestSelector& selector);
42
43 /**
44 * Tests the newPyramid function.
45 * @param testDuration Number of seconds for each test
46 * @return True, if succeeded
47 */
48 static bool testNewPyramid(const double testDuration);
49
50 /**
51 * Tests the existingPyramid function.
52 * @param testDuration Number of seconds for each test
53 * @return True, if succeeded
54 */
55 static bool testExistingPyramid(const double testDuration);
56
57 /**
58 * Tests the latestPyramid function.
59 * @param testDuration Number of seconds for each test
60 * @return True, if succeeded
61 */
62 static bool testLatestPyramid(const double testDuration);
63
64 /**
65 * Tests the updateLatest function.
66 * @param testDuration Number of seconds for each test
67 * @return True, if succeeded
68 */
69 static bool testUpdateLatest(const double testDuration);
70
71 /**
72 * Tests the ScopedPyramid RAII behavior.
73 * @param testDuration Number of seconds for each test
74 * @return True, if succeeded
75 */
76 static bool testScopedPyramid(const double testDuration);
77
78 /**
79 * Tests the idealPyramidLayers static function.
80 * @param testDuration Number of seconds for each test
81 * @return True, if succeeded
82 */
83 static bool testIdealPyramidLayers(const double testDuration);
84};
85
86}
87
88}
89
90}
91
92}
93
94#endif // META_OCEAN_TEST_TESTTRACKING_TESTSLAM_TEST_FRAME_PYRAMID_MANAGER_H
This class implements a test selector that parses test function strings and determines which tests sh...
Definition TestSelector.h:51
This class implements FramePyramidManager tests.
Definition TestFramePyramidManager.h:32
static bool testLatestPyramid(const double testDuration)
Tests the latestPyramid function.
static bool testScopedPyramid(const double testDuration)
Tests the ScopedPyramid RAII behavior.
static bool test(const double testDuration, const TestSelector &selector)
Executes all FramePyramidManager tests.
static bool testIdealPyramidLayers(const double testDuration)
Tests the idealPyramidLayers static function.
static bool testNewPyramid(const double testDuration)
Tests the newPyramid function.
static bool testUpdateLatest(const double testDuration)
Tests the updateLatest function.
static bool testExistingPyramid(const double testDuration)
Tests the existingPyramid function.
The namespace covering the entire Ocean framework.
Definition Accessor.h:15