Do not use designated initializer

PiperOrigin-RevId: 507805920
This commit is contained in:
Sebastian Schmidt 2023-02-07 09:35:46 -08:00 committed by Copybara-Service
parent e8caaeed61
commit 712a22101f

View File

@ -84,8 +84,8 @@ TEST_P(HandednessToMatrixCalculatorTest, OutputsCorrectResult) {
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_CASE_P(
HandednessToMatrixCalculatorTests, HandednessToMatrixCalculatorTest, HandednessToMatrixCalculatorTests, HandednessToMatrixCalculatorTest,
testing::ValuesIn<HandednessToMatrixCalculatorTestCase>( testing::ValuesIn<HandednessToMatrixCalculatorTestCase>(
{{.test_name = "TestWithRightHand", .handedness = 0.01f}, {{/* test_name= */ "TestWithRightHand", /* handedness= */ 0.01f},
{.test_name = "TestWithLeftHand", .handedness = 0.99f}}), {/* test_name= */ "TestWithLeftHand", /* handedness= */ 0.99f}}),
[](const testing::TestParamInfo< [](const testing::TestParamInfo<
HandednessToMatrixCalculatorTest::ParamType>& info) { HandednessToMatrixCalculatorTest::ParamType>& info) {
return info.param.test_name; return info.param.test_name;