We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 227c85d commit 336e03bCopy full SHA for 336e03b
src/iceberg/test/literal_test.cc
@@ -30,22 +30,6 @@
30
31
namespace iceberg {
32
33
-namespace {
34
-
35
-// Helper function to assert that a CastTo operation succeeds and checks
36
-// the resulting type and value.
37
-template <typename T>
38
-void AssertCastSucceeds(const Result<Literal>& result, TypeId expected_type_id,
39
- const T& expected_value) {
40
- ASSERT_THAT(result, IsOk());
41
- ASSERT_EQ(result->type()->type_id(), expected_type_id);
42
- EXPECT_EQ(std::get<T>(result->value()), expected_value)
43
- << "Type mismatch in std::get. Expected type for TypeId "
44
- << static_cast<int>(expected_type_id);
45
-}
46
47
-} // namespace
48
49
// Parameter struct for basic literal tests
50
struct BasicLiteralTestParam {
51
std::string test_name;
0 commit comments