Sha256: e017418c36e92fb6580f1fa3c0430d2148196b2325aed1021f7b213fbfd0c1a8
Contents?: true
Size: 499 Bytes
Versions: 225
Compression:
Stored size: 499 Bytes
Contents
class TestGtkTreePath < Test::Unit::TestCase include GtkTestUtils 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 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 private def tree_path(path) Gtk::TreePath.new(path) end end
Version data entries
225 entries across 225 versions & 2 rubygems