Ocean
TestFrustum.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_TESTMATH_TEST_FRUSTUM_H
9 #define META_OCEAN_TEST_TESTMATH_TEST_FRUSTUM_H
10 
12 
13 #include "ocean/math/Frustum.h"
14 
15 namespace Ocean
16 {
17 
18 namespace Test
19 {
20 
21 namespace TestMath
22 {
23 
24 /**
25  * This class implements frustum tests.
26  * @ingroup testmath
27  */
28 class OCEAN_TEST_MATH_EXPORT TestFrustum
29 {
30  public:
31 
32  /**
33  * Invokes all frustum tests.
34  * @param testDuration Duration of each test, with range (0, infinity)
35  * @return True, if succeeded
36  */
37  static bool test(const double testDuration);
38 
39  /**
40  * Tests the constructors.
41  * @param testDuration Duration of each test, with range (0, infinity)
42  * @return True, if succeeded
43  */
44  static bool testConstructors(const double testDuration);
45 
46  /**
47  * Tests isInside() for points.
48  * @param testDuration Duration of each test, with range (0, infinity)
49  * @return True, if succeeded
50  */
51  static bool testIsInsidePoint(const double testDuration);
52 };
53 
54 }
55 
56 }
57 
58 }
59 
60 #endif // META_OCEAN_TEST_TESTMATH_TEST_FRUSTUM_H
This class implements frustum tests.
Definition: TestFrustum.h:29
static bool testIsInsidePoint(const double testDuration)
Tests isInside() for points.
static bool testConstructors(const double testDuration)
Tests the constructors.
static bool test(const double testDuration)
Invokes all frustum tests.
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15