MCPcopy Create free account
hub / github.com/apache/arrow / test_valid

Method test_valid

c_glib/test/test-array.rb:120–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118
119 sub_test_case("#view") do
120 def test_valid
121 int32_array = build_int32_array([0, 1069547520, -1071644672, nil])
122 assert_equal(build_float_array([0.0, 1.5, -2.5, nil]),
123 int32_array.view(Arrow::FloatDataType.new))
124 end
125
126 def test_invalid
127 message = "[array][view]: Invalid: " +

Callers

nothing calls this directly

Calls 3

viewMethod · 0.45
newMethod · 0.45
validateMethod · 0.45

Tested by

no test coverage detected