7 #include "../../func-common.h" 24 TEST_CASE(
"Max Usable Range option require Max Range Preset while streaming",
25 "[max-usable-range]" )
32 auto depth_vga_profile
37 mur.open( depth_vga_profile );
48 TEST_CASE(
"Max Usable Range option require VGA sensor mode while streaming",
"[max-usable-range]")
55 auto profiles = mur.get_stream_profiles();
57 auto non_vga_depth_profile
62 && (vp.width() != 640) && (vp.height() != 480));
66 mur.open(*non_vga_depth_profile);
78 TEST_CASE(
"Reading Max Usable Range while option is off or not streaming",
"[max-usable-range]")
84 auto depth_vga_profile
89 mur.open(depth_vga_profile);
TEST_CASE("Max Usable Range option require Max Range Preset while streaming","[max-usable-range]")
rs2::depth_sensor find_first_supported_depth_sensor_or_exit(const std::string &dev_name, rs2_option opt)
#define CHECK_THROWS(...)
rs2::stream_profile get_profile_by_stream_parameters(rs2::sensor s, rs2_stream stream=RS2_STREAM_ANY, rs2_format format=RS2_FORMAT_ANY, int width=-1, int height=-1, int fps=-1, int stream_index=-1)
CHECK_FALSE(inverse(inverse(p))==p)