7 #include "../../../func-common.h" 8 #include "../../presets-common.h" 15 TEST_CASE(
"check currents after resolution changed",
"[l500][live]" )
36 compare_to_actual(depth_sens, expected_values[preset_mode], expected_defs[preset_mode]);
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)
std::pair< rs2_l500_visual_preset, rs2_sensor_mode > preset_mode_pair
std::map< preset_mode_pair, std::map< rs2_option, float > > preset_values_map
rs2::device_list find_devices_by_product_line_or_exit(int product)
#define RS2_PRODUCT_LINE_L500
TEST_CASE("check currents after resolution changed","[l500][live]")
void exit_if_fw_version_is_under(rs2::device &dev, librealsense::firmware_version version)
void build_presets_to_expected_values_defs_map(rs2::device &dev, rs2::depth_sensor &depth_sens, preset_values_map &expected_values, preset_values_map &expected_defs)
void for_each_preset_mode_combination(std::function< void(preset_mode_pair) > action)