1 # frozen_string_literal: false
4 class TestInsnsLeaf < Test::Unit::TestCase
14 other.class == self.class && other.db_id == db_id
16 alias_method :eql?, :==
23 db_id <=> other.db_id if other.is_a?(self.class)
43 assert Namespace.test?(Id.new(1)), "IDS should include 1"
44 assert !Namespace.test?(Id.new(5)), "IDS should not include 5"