Sha256: 3dba0f9fff0089edfab2b3f5fd46d4abbb9c770f8c82c5fa7f0512dd48af35d1

Contents?: true

Size: 305 Bytes

Versions: 2

Compression:

Stored size: 305 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe Parsing::NonnegativeIntegerParser do
  parser = Parsing::NonnegativeIntegerParser.new

  ["1","50","05","502530","0"].each do |str|
    it "should parse '#{str}'" do
      parser.parse(str).should_not be nil
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
music-transcription-0.11.0 spec/parsing/nonnegative_integer_spec.rb
music-transcription-0.10.0 spec/parsing/nonnegative_integer_spec.rb