Ocean
Loading...
Searching...
No Matches
TestBullseyeDetectorStereo.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#pragma once
9
11
13
15
16namespace Ocean
17{
18
19namespace Test
20{
21
22namespace TestCV
23{
24
25namespace TestDetector
26{
27
28namespace TestBullseyes
29{
30
31/**
32 * This class implements tests for the BullseyeDetectorStereo
33 * @ingroup testcvdetectorbullseyes
34 */
35class OCEAN_TEST_CV_DETECTOR_BULLSEYES_EXPORT TestBullseyeDetectorStereo
36{
37 public:
38
39 /**
40 * Tests the BullseyeDetectorStereo functions.
41 * @param testDuration Number of seconds for each test, with range (0, infinity)
42 * @return True, if succeeded
43 */
44 static bool test(const double testDuration);
45
46 /**
47 * Stress test for BullseyeDetectorStereo::detectBullseyes()
48 * @param testDuration The duration in seconds for which this test will be run, must be > 0.0
49 * @param randomGenerator A random generator that will be used to generate test data
50 * @return True, if succeeded
51 */
52 static bool stressTestDetectBullseyes(const double testDuration, RandomGenerator& randomGenerator);
53};
54
55} // namespace TestBullseyes
56
57} // namespace TestDetector
58
59} // namespace TestCV
60
61} // namespace Test
62
63} // namespace Ocean
This class implements a generator for random numbers.
Definition RandomGenerator.h:42
This class implements tests for the BullseyeDetectorStereo.
Definition TestBullseyeDetectorStereo.h:36
static bool test(const double testDuration)
Tests the BullseyeDetectorStereo functions.
static bool stressTestDetectBullseyes(const double testDuration, RandomGenerator &randomGenerator)
Stress test for BullseyeDetectorStereo::detectBullseyes()
The namespace covering the entire Ocean framework.
Definition Accessor.h:15