API
 
Loading...
Searching...
No Matches
strehlEstimator Unit Tests

Unit tests for the strehlEstimator application. More...

Collaboration diagram for strehlEstimator Unit Tests:

Namespaces

namespace  libXWCTest::strehlEstimatorTest
 Namespace for strehlEstimator unit tests.
 

Functions

 libXWCTest::strehlEstimatorTest::TEST_CASE ("strehlEstimator callbacks validate the property identity", "[strehlEstimator][indi]")
 Verify the strehlEstimator callbacks reject mismatched property identities.
 
 libXWCTest::strehlEstimatorTest::TEST_CASE ("strehlEstimator startup publishes planning and optimum-speed properties", "[strehlEstimator]")
 
 libXWCTest::strehlEstimatorTest::TEST_CASE ("strehlEstimator planning inputs honor estimated writes and wind-speed selections", "[strehlEstimator]")
 
 libXWCTest::strehlEstimatorTest::TEST_CASE ("strehlEstimator freezes auto-tracked estimates while use_estimates is enabled", "[strehlEstimator]")
 
 libXWCTest::strehlEstimatorTest::TEST_CASE ("strehlEstimator uses estimates when requested and scans the fixed loop-speed grid", "[strehlEstimator]")
 

Detailed Description

Unit tests for the strehlEstimator application.

Function Documentation

◆ TEST_CASE() [1/5]

libXWCTest::strehlEstimatorTest::TEST_CASE ( "strehlEstimator callbacks validate the property identity"  ,
""  [strehlEstimator][indi] 
)

Verify the strehlEstimator callbacks reject mismatched property identities.

Definition at line 279 of file strehlEstimator_test.cpp.

References XWCTEST_DOXYGEN_REF, XWCTEST_INDI_ARBNEW_CALLBACK, and XWCTEST_INDI_SET_CALLBACK.

◆ TEST_CASE() [2/5]

libXWCTest::strehlEstimatorTest::TEST_CASE ( "strehlEstimator freezes auto-tracked estimates while use_estimates is enabled"  ,
""  [strehlEstimator] 
)

Verify estimate selection changes the published predictions and the optimum-loop-speed summary matches the fixed FPS grid.

Definition at line 446 of file strehlEstimator_test.cpp.

References MagAOX::app::strehlEstimator::calcMag(), and XWCTEST_DOXYGEN_REF.

◆ TEST_CASE() [3/5]

libXWCTest::strehlEstimatorTest::TEST_CASE ( "strehlEstimator planning inputs honor estimated writes and wind-speed selections"  ,
""  [strehlEstimator] 
)

Verify local star-magnitude and seeing writes only honor estimated, while the wind-speed selector updates the planning wind state.

Definition at line 346 of file strehlEstimator_test.cpp.

References MagAOX::app::strehlEstimator::calcMag(), and XWCTEST_DOXYGEN_REF.

◆ TEST_CASE() [4/5]

libXWCTest::strehlEstimatorTest::TEST_CASE ( "strehlEstimator startup publishes planning and optimum-speed properties"  ,
""  [strehlEstimator] 
)

Verify published-property initialization creates the planning-input and optimum-speed properties with the expected elements.

Definition at line 312 of file strehlEstimator_test.cpp.

◆ TEST_CASE() [5/5]

libXWCTest::strehlEstimatorTest::TEST_CASE ( "strehlEstimator uses estimates when requested and scans the fixed loop-speed grid"  ,
""  [strehlEstimator] 
)

Verify estimate selection changes the published predictions and the optimum-loop-speed summary matches the fixed FPS grid.

Definition at line 501 of file strehlEstimator_test.cpp.

References MagAOX::app::strehlEstimator::updateOptimumLoopSpeed(), MagAOX::app::strehlEstimator::updatePredictionOutputs(), and XWCTEST_DOXYGEN_REF.