Code/Framework/AzCore/Tests/Math/FrustumTests.cpp
// Tests that a sphere outside the frustum does not overlap the frustum
Tests that a sphere outside the frustum does not overlap the frustum
Tests that a sphere outside the frustum does not overlap the frustum
TEST_P(Tests, SphereOverlapsFrustum_SphereOutsidePlane_False)
    {
        AZ::Sphere testSphere = GenerateSphereOutsidePlane(m_planes[m_testCase.plane], m_centerPoints[m_testCase.plane]);
        EXPECT_FALSE(AZ::ShapeIntersection::Overlaps(testSphere, m_frustum)) << "Sphere overlaps frustum even though sphere is completely outside the frustum." << std::endl << "Frustum:" << std::endl << m_testCase << std::endl << "Sphere:" << std::endl << testSphere << std::endl;
    }
TEST_P ( Tests , SphereOverlapsFrustum_SphereOutsidePlane_False ) { AZ :: Sphere testSphere = GenerateSphereOutsidePlane ( m_planes [ m_testCase . plane ] , m_centerPoints [ m_testCase . plane ] ) ; EXPECT_FALSE ( AZ :: ShapeIntersection :: Overlaps ( testSphere , m_frustum ) ) << " " << std :: endl << " " << std :: endl << m_testCase << std :: endl << " " << std :: endl << testSphere << std :: endl ; }
Tests that a sphere outside the frustum does not overlap the frustum
Tests that a sphere outside the frustum does not overlap the frustum