7 #include "../../../func-common.h" 8 #include "../../presets-common.h" 15 TEST_CASE(
"check values after hw control changed",
"[l500][live]" )
26 std::map< rs2_option, float > expected_values, expected_defs;
36 auto range = depth_sens.get_option_range( o );
37 depth_sens.set_option( o,
range.min );
39 auto expected_curr_values = expected_values;
40 expected_curr_values[o] =
range.min;
const std::string MIN_GET_DEFAULT_FW_VERSION("1.5.4.0")
void compare_to_actual(const rs2::sensor &sens, const std::map< rs2_option, float > &expected_values, const std::map< rs2_option, float > &expected_defaults)
const std::vector< rs2_option > preset_dependent_options
rs2::device_list find_devices_by_product_line_or_exit(int product)
#define RS2_PRODUCT_LINE_L500
TEST_CASE("check values after hw control changed","[l500][live]")
void build_preset_to_expected_values_map(rs2::device &dev, rs2::depth_sensor &depth_sens, preset_mode_pair preset_mode, std::map< rs2_option, float > &expected_values, std::map< rs2_option, float > &expected_defs)
void exit_if_fw_version_is_under(rs2::device &dev, librealsense::firmware_version version)
void reset_camera_preset_mode_to_defaults(const rs2::sensor &sens)
preset_mode_pair get_camera_preset_mode_defaults(const rs2::sensor &sens)