\brief Asserts that the current DenseUnionScalar equals to given string value
| 51 | public: |
| 52 | /// \brief Asserts that the current DenseUnionScalar equals to given string value |
| 53 | void operator()(const std::string& string_value) const { |
| 54 | const auto& scalar = checked_cast<const StringScalar&>(*data.value); |
| 55 | ASSERT_EQ(string_value, scalar.ToString()); |
| 56 | } |
| 57 | |
| 58 | /// \brief Asserts that the current DenseUnionScalar equals to given bool value |
| 59 | void operator()(const bool bool_value) const { |