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