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

Method test_dimension_name

c_glib/test/test-tensor.rb:82–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 end
81
82 def test_dimension_name
83 dimension_names = @tensor.n_dimensions.times.collect do |i|
84 @tensor.get_dimension_name(i)
85 end
86 assert_equal(["a", "b", "c"],
87 dimension_names)
88 end
89
90 def test_size
91 assert_equal(@raw_data.size, @tensor.size)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected