Sha256: 877d6f86efa2006f931f63395d28bc334ffd962a64b214fe9b83743ceca82f03

Contents?: true

Size: 308 Bytes

Versions: 9

Compression:

Stored size: 308 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

9 entries across 9 versions & 1 rubygems

Version Path
music-transcription-0.21.0 spec/parsing/numbers/nonnegative_integer_spec.rb
music-transcription-0.20.0 spec/parsing/numbers/nonnegative_integer_spec.rb
music-transcription-0.19.0 spec/parsing/numbers/nonnegative_integer_spec.rb
music-transcription-0.17.1 spec/parsing/numbers/nonnegative_integer_spec.rb
music-transcription-0.17.0 spec/parsing/numbers/nonnegative_integer_spec.rb
music-transcription-0.16.0 spec/parsing/numbers/nonnegative_integer_spec.rb
music-transcription-0.15.0 spec/parsing/numbers/nonnegative_integer_spec.rb
music-transcription-0.14.0 spec/parsing/numbers/nonnegative_integer_spec.rb
music-transcription-0.13.0 spec/parsing/numbers/nonnegative_integer_spec.rb