Test case to unit test satellite C/N0 estimator with mode AVERAGE. More...
Inheritance diagram for SatBasicEstimatorAverageTestCase:
Collaboration diagram for SatBasicEstimatorAverageTestCase:Public Member Functions | |
| SatBasicEstimatorAverageTestCase () | |
| virtual | ~SatBasicEstimatorAverageTestCase () |
Public Member Functions inherited from SatEstimatorBaseTestCase | |
| SatEstimatorBaseTestCase () | |
| SatEstimatorBaseTestCase (std::string info) | |
| virtual | ~SatEstimatorBaseTestCase () |
| void | AddSample (double cno) |
| void | CreateEstimator (SatCnoEstimator::EstimationMode_t mode, Time window) |
| void | GetCnoEstimation () |
Protected Member Functions | |
| virtual void | DoRun (void) |
Additional Inherited Members | |
Protected Attributes inherited from SatEstimatorBaseTestCase | |
| std::vector< double > | m_cnoEstimations |
| Ptr< SatCnoEstimator > | m_estimator |
Test case to unit test satellite C/N0 estimator with mode AVERAGE.
This case tests that SatBasicCnoEstimator can be created in mode AVERAGE and C/N0 is estimated correctly in set window.
Expected result: Returned C/N0 estimation must be the average value of samples in window.
C/N0 estimation must be NAN, if no samples are got during time window.
Definition at line 331 of file satellite-cno-estimator-test.cc.
|
inline |
Definition at line 334 of file satellite-cno-estimator-test.cc.
|
inlinevirtual |
Definition at line 339 of file satellite-cno-estimator-test.cc.
|
protectedvirtual |
Implements SatEstimatorBaseTestCase.
Definition at line 348 of file satellite-cno-estimator-test.cc.
References SatEstimatorBaseTestCase::AddSample(), ns3::SatCnoEstimator::AVERAGE, SatEstimatorBaseTestCase::CreateEstimator(), and SatEstimatorBaseTestCase::GetCnoEstimation().
Here is the call graph for this function: