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

Method test_string

c_glib/test/test-dictionary-encode.rb:45–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 end
44
45 def test_string
46 array = build_string_array(["Ruby", "Python", "Ruby"])
47 assert_equal(<<-STRING.chomp, array.dictionary_encode.to_s)
48
49-- dictionary:
50 [
51 "Ruby",
52 "Python"
53 ]
54-- indices:
55 [
56 0,
57 1,
58 0
59 ]
60 STRING
61 end
62end

Callers

nothing calls this directly

Calls 1

to_sMethod · 0.45

Tested by

no test coverage detected