Sha256: fa70902a58e9a95d462f93b2ffe36a69316c5895a7497a43cdf67262cc08403d
Contents?: true
Size: 539 Bytes
Versions: 5
Compression:
Stored size: 539 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe Parsing::ArticulationParser do parser = Parsing::ArticulationParser.new { '=' => SLUR, '-' => LEGATO, '_' => TENUTO, '%' => PORTATO, '.' => STACCATO, "'" => STACCATISSIMO }.each do |str,art| res = parser.parse(str) it "should parse '#{str}'" do res.should_not be nil end it 'should return a node to responds to :to_articulation correctly' do res.to_articulation.should eq art end end end
Version data entries
5 entries across 5 versions & 1 rubygems