Lines Matching refs:GetParam
57 EXPECT_THAT(EncodeViaHexFloat(GetParam().first), Eq(GetParam().second)); in TEST_P()
61 EXPECT_THAT(EncodeViaHexFloat(GetParam().first), Eq(GetParam().second)); in TEST_P()
73 EXPECT_THAT(Decode<float>(GetParam().second), Eq(GetParam().first)); in TEST_P()
77 EXPECT_THAT(Decode<double>(GetParam().second), Eq(GetParam().first)); in TEST_P()
258 EXPECT_THAT(Decode<float>(GetParam().first), Eq(GetParam().second)); in TEST_P()
262 EXPECT_THAT(Decode<double>(GetParam().first), Eq(GetParam().second)); in TEST_P()
458 NormalizeExponentInFloatString(EncodeViaFloatProxy(GetParam().first)), in TEST_P()
459 Eq(GetParam().second)); in TEST_P()
464 NormalizeExponentInFloatString(EncodeViaFloatProxy(GetParam().first)), in TEST_P()
465 Eq(GetParam().second)); in TEST_P()
741 HF input_value(GetParam().source_float); in TEST_P()
743 EXPECT_EQ(GetParam().expected_results.first, in TEST_P()
745 GetParam().round, &carry_bit)); in TEST_P()
746 EXPECT_EQ(carry_bit, GetParam().expected_results.second); in TEST_P()
820 HF16 input_value(GetParam().source_half); in TEST_P()
822 GetParam().expected_result, in TEST_P()
826 << " 0x" << GetParam().expected_result; in TEST_P()
868 HF f(GetParam().source_float); in TEST_P()
869 for (auto round : GetParam().directions) { in TEST_P()
872 EXPECT_EQ(GetParam().expected_half, half.value().getAsFloat().get_value()) in TEST_P()
874 << spvutils::BitwiseCast<uint32_t>(GetParam().source_float) in TEST_P()
928 HF16 f(GetParam().source_half); in TEST_P()
940 EXPECT_EQ(GetParam().expected_float, flt.value().getAsFloat()) in TEST_P()
942 << spvutils::BitwiseCast<uint16_t>(GetParam().source_half) in TEST_P()
1013 std::stringstream input(GetParam().literal); in TEST_P()
1015 ParseNormalFloat(input, GetParam().negate_value, parsed_value); in TEST_P()
1016 EXPECT_NE(GetParam().expect_success, input.fail()) in TEST_P()
1017 << " literal: " << GetParam().literal in TEST_P()
1018 << " negate: " << GetParam().negate_value; in TEST_P()
1019 if (GetParam().expect_success) { in TEST_P()
1020 EXPECT_THAT(parsed_value.value(), Eq(GetParam().expected_value.value())) in TEST_P()
1021 << " literal: " << GetParam().literal in TEST_P()
1022 << " negate: " << GetParam().negate_value; in TEST_P()
1080 std::stringstream input(GetParam().literal); in TEST_P()
1082 ParseNormalFloat(input, GetParam().negate_value, parsed_value); in TEST_P()
1083 EXPECT_NE(GetParam().expect_success, input.fail()) in TEST_P()
1084 << " literal: " << GetParam().literal in TEST_P()
1085 << " negate: " << GetParam().negate_value; in TEST_P()
1086 if (GetParam().expect_success) { in TEST_P()
1087 EXPECT_THAT(parsed_value.value(), Eq(GetParam().expected_value.value())) in TEST_P()
1088 << " literal: " << GetParam().literal in TEST_P()
1089 << " negate: " << GetParam().negate_value; in TEST_P()
1131 std::istringstream input(GetParam().input); in TEST_P()
1134 EXPECT_NE(GetParam().expect_success, input.fail()); in TEST_P()
1135 if (GetParam().expect_success) { in TEST_P()
1136 EXPECT_THAT(value.value().getAsFloat(), GetParam().expected_value); in TEST_P()
1158 std::istringstream input(GetParam().input); in TEST_P()
1161 EXPECT_NE(GetParam().expect_success, input.fail()); in TEST_P()
1162 if (GetParam().expect_success) { in TEST_P()
1163 EXPECT_THAT(value.value().getAsFloat(), Eq(GetParam().expected_value)); in TEST_P()
1185 std::istringstream input(GetParam().input); in TEST_P()
1188 EXPECT_NE(GetParam().expect_success, input.fail()) << " literal: " in TEST_P()
1189 << GetParam().input; in TEST_P()
1190 if (GetParam().expect_success) { in TEST_P()
1191 EXPECT_THAT(value.value().data(), Eq(GetParam().expected_value)) in TEST_P()
1192 << " literal: " << GetParam().input; in TEST_P()