Included Modules

Class/Module Index [+]

Quicksearch

TestGtkTreePath

Public Instance Methods

test_compare() click to toggle source
# File gtk2/test/test_gtk_tree_path.rb, line 4
def test_compare
  assert_equal(-1, tree_path("0") <=> tree_path("1"))
  assert_equal(0, tree_path("0") <=> tree_path("0"))
  assert_equal(1, tree_path("1") <=> tree_path("0"))
end
test_equal() click to toggle source
# File gtk2/test/test_gtk_tree_path.rb, line 10
def test_equal
  assert_equal(tree_path("0"), tree_path("0"))
  assert_not_equal(tree_path("0"), tree_path("1"))
  assert_not_equal(tree_path("0"), "0")
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.