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

Method setup

ruby/red-arrow/test/test-dictionary-array.rb:20–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18class DictionaryArrayTest < Test::Unit::TestCase
19 sub_test_case("instance methods") do
20 def setup
21 @values = ["a", "b", "c", "b", "a"]
22 @string_array = Arrow::StringArray.new(@values)
23 @array = @string_array.dictionary_encode
24 end
25
26 test("#[]") do
27 assert_equal(@values, @array.to_a)

Callers

nothing calls this directly

Calls 1

newMethod · 0.45

Tested by

no test coverage detected