Sha256: b7e5e8749a2f6b206dcfebddefdfae89f4c89585cf5f458c5032cb710a0e448a
Contents?: true
Size: 533 Bytes
Versions: 10
Compression:
Stored size: 533 Bytes
Contents
# -*- encoding: utf-8 -*- require 'test_helper' require 'hexapdf/document' require 'hexapdf/type/annotations/widget' describe HexaPDF::Type::Annotations::Widget::AppearanceCharacteristics do before do @doc = HexaPDF::Document.new @annot = @doc.wrap({}, type: :XXAppearanceCharacteristics) end describe "validation" do it "needs /R to be a multiple of 90" do assert(@annot.validate) @annot[:R] = 45 refute(@annot.validate) @annot[:R] = 90 assert(@annot.validate) end end end
Version data entries
10 entries across 10 versions & 1 rubygems