Sha256: 0b3529f6f74d425704c842b3f90d41f460693ba62d53e594654c846314e515f1

Contents?: true

Size: 390 Bytes

Versions: 7

Compression:

Stored size: 390 Bytes

Contents

require 'spec_helper'

describe Hershey::Character do
  let (:a) {Hershey::Character.new('a', font: :futural)}

  describe "path" do
    it "should be predictable" do
      a.to_path(0).should == "<path stroke=\"black\" fill=\"none\" d=\"M6 -5 L6 9 M6 -2 L4 -4 L2 -5 L-1 -5 L-3 -4 L-5 -2 L-6 1 L-6 3 L-5 6 L-3 8 L-1 9 L2 9 L4 8 L6 6\" transform=\"translate(9,0)\"></path>"
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hershey-0.0.11 spec/character_spec.rb
hershey-0.0.10 spec/character_spec.rb
hershey-0.0.9 spec/character_spec.rb
hershey-0.0.8 spec/character_spec.rb
hershey-0.0.7 spec/character_spec.rb
hershey-0.0.6 spec/character_spec.rb
hershey-0.0.5 spec/character_spec.rb