Sha256: 436a98c11d69feeb22a42a3ad3889312229003552f3ae74a0853ca3cb4933fbd
Contents?: true
Size: 524 Bytes
Versions: 1
Compression:
Stored size: 524 Bytes
Contents
# frozen_string_literal: true require 'test_helper' describe Gtk::TreePath do describe '#get_indices' do it "returns an enumerable of the TreePath's indices" do tree_path = Gtk::TreePath.new_from_string '1:2:3' _(tree_path.get_indices.to_a).must_equal [1, 2, 3] end end describe '.new_from_indices' do it 'creates a Gtk::TreePath with the right indices' do tree_path = Gtk::TreePath.new_from_indices [1, 2, 3] _(tree_path.get_indices.to_a).must_equal [1, 2, 3] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gir_ffi-gtk-0.15.0 | test/gir_ffi-gtk/tree_path_test.rb |