Sha256: 97a8f7e3a17da4f116d6e8b9e6393d5b0bb556107d6137046160350fdb3df4bb

Contents?: true

Size: 309 Bytes

Versions: 5

Compression:

Stored size: 309 Bytes

Contents

require 'test_helper'
require 'hexapdf/type/info'

describe HexaPDF::Type::Info do
  it "must always be indirect" do
    obj = HexaPDF::Type::Info.new({})
    assert(obj.must_be_indirect?)
  end

  it "uses a custom type" do
    obj = HexaPDF::Type::Info.new({})
    assert_equal(:XXInfo, obj.type)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hexapdf-0.5.0 test/hexapdf/type/test_info.rb
hexapdf-0.4.0 test/hexapdf/type/test_info.rb
hexapdf-0.3.0 test/hexapdf/type/test_info.rb
hexapdf-0.2.0 test/hexapdf/type/test_info.rb
hexapdf-0.1.0 test/hexapdf/type/test_info.rb