test_albedo¶
- test_albedo.test_unitAlbedo(show_plots, planetCase, modelType, useEclipse)[source]¶
Validation Test Description
This section describes the specific unit tests conducted on this module. The test contains 4 tests and is located at
test_albedo.py
. The success criteria is to match the outputs with the generated truth.- Parameters
planetCase (string) – Defines which planet to use. Options include “earth” and “mars”.
modelType (string) – Defines which albedo model to use. Options include “ALBEDO_AVG_EXPLICIT”, “ALBEDO_AVG_IMPLICIT” and “ALBEDO_DATA”.
useEclipse (bool) – Defines if the eclipse is considered for this parameterized unit test.
Description of Variables Being Tested
In this file, we are checking the values of the variable:
albedoAtInstrument
which are pulled from the log data to see if they match with the expected truth values.