# encoding: ASCII-8BIT
require 'pwnlib/util/packing'

raise 'call from module fail' unless Pwnlib::Util::Packing.p8(0x61) == 'a'

include Pwnlib::Util::Packing::ClassMethod
raise 'include module and call fail' unless p8(0x61) == 'a'

# encoding: ASCII-8BIT
# TODO(Darkpi): Should we make sure ALL module works? (maybe we should).
require 'pwnlib/util/packing'

raise 'call from module fail' unless Pwnlib::Util::Packing.p8(0x61) == 'a'

include Pwnlib::Util::Packing::ClassMethod
raise 'include module and call fail' unless p8(0x61) == 'a'

begin
  Pwnlib::Util::Packing.context
  raise 'context public in Pwnlib module'
rescue NoMethodError
  puts 'good'
end

Add one more test to ensure(?) context isn't everywhere.
Add one more test to ensure(?) context isn't everywhere.
