The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

tests: Clean up comments, strings

+5 -5
+4 -4
tests/tests_input_transform.cpp
··· 353 353 input.type = XRT_INPUT_TYPE_VEC2_MINUS_ONE_TO_ONE; 354 354 355 355 CHECK(oxr_input_transform_create_chain_dpad( 356 - &log, &slog, input.type, action_type, "/dummy_vec2/dpad_up", dpad_binding_modification, 356 + &log, &slog, input.type, action_type, "/mock_vec2/dpad_up", dpad_binding_modification, 357 357 dpad_region, activation_input_type, NULL, &transforms, &transform_count)); 358 358 CHECK(transform_count == 1); 359 359 CHECK(transforms != nullptr); ··· 410 410 activation_input_type = XRT_INPUT_TYPE_BOOLEAN; 411 411 412 412 CHECK(oxr_input_transform_create_chain_dpad( 413 - &log, &slog, input.type, action_type, "/dummy_vec2/dpad_up", dpad_binding_modification, 413 + &log, &slog, input.type, action_type, "/mock_vec2/dpad_up", dpad_binding_modification, 414 414 dpad_region, activation_input_type, &activation_input, &transforms, &transform_count)); 415 415 CHECK(transform_count == 1); 416 416 CHECK(transforms != nullptr); ··· 438 438 activation_input_type = XRT_INPUT_TYPE_VEC1_ZERO_TO_ONE; 439 439 440 440 CHECK(oxr_input_transform_create_chain_dpad( 441 - &log, &slog, input.type, action_type, "/dummy_vec2/dpad_up", dpad_binding_modification, 441 + &log, &slog, input.type, action_type, "/mock_vec2/dpad_up", dpad_binding_modification, 442 442 dpad_region, activation_input_type, &activation_input, &transforms, &transform_count)); 443 443 CHECK(transform_count == 1); 444 444 CHECK(transforms != nullptr); ··· 495 495 input.value.vec2.y = 1.0f; 496 496 497 497 CHECK(oxr_input_transform_create_chain_dpad( 498 - &log, &slog, input.type, action_type, "/dummy_vec2/dpad_up", dpad_binding_modification, 498 + &log, &slog, input.type, action_type, "/mock_vec2/dpad_up", dpad_binding_modification, 499 499 dpad_region, activation_input_type, NULL, &transforms, &transform_count)); 500 500 CHECK(transform_count == 1); 501 501 CHECK(transforms != nullptr);
+1 -1
tests/tests_uv_to_tangent.cpp
··· 37 37 38 38 TEST_CASE("render_calc_uv_to_tangent_lengths_rect") 39 39 { 40 - // Sanity check. 40 + // check assumptions 41 41 REQUIRE_THAT(tan(QUARTER_PI), Catch::WithinAbs(1.0, MARGIN)); 42 42 43 43 SECTION("45_degrees")