Sha256: c10c7098bb75ed6176a32e587dad5503506a8dbe4edda7473ec3d58816ba06b4
Contents?: true
Size: 487 Bytes
Versions: 8
Compression:
Stored size: 487 Bytes
Contents
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
8 entries across 8 versions & 1 rubygems