Sha256: a75294a3d7f328f2a5bd678ed799fd36e9e17e4f464c0271c1092ecfe779704f
Contents?: true
Size: 432 Bytes
Versions: 6
Compression:
Stored size: 432 Bytes
Contents
require 'test_helper' class GlyphMapTest < Test::Unit::TestCase def setup font_path = File.expand_path('../../fixtures/myfont', __FILE__) + '/*.svg' @glyph_map = Compass::Fontcustom::GlyphMap.from_uri font_path, nil end def test_glyph_map map = @glyph_map.instance_variable_get(:@glyphs) assert !map.empty? end def test_glyph_index_access assert_equal 0, @glyph_map.index_for_glyph('C') end end
Version data entries
6 entries across 6 versions & 1 rubygems