Sha256: c368e0de5ec6a10e74f684e8d40b6c637a853d7bd52b3dcd2c04519b24cf973b
Contents?: true
Size: 539 Bytes
Versions: 6
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
6 entries across 6 versions & 1 rubygems