Sha256: 0a19d50ae3533c373e5481d4110865362d14a6cd6a41f883548781532f5d18c1

Contents?: true

Size: 326 Bytes

Versions: 6

Compression:

Stored size: 326 Bytes

Contents

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

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

  ["1.0","0.50","05.003e-10","1.555e+2","3.443214"].each do |str|
    it "should parse '#{str}'" do
      parser.parse(str).should_not be nil
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
music-transcription-0.17.1 spec/parsing/numbers/nonnegative_float_spec.rb
music-transcription-0.17.0 spec/parsing/numbers/nonnegative_float_spec.rb
music-transcription-0.16.0 spec/parsing/numbers/nonnegative_float_spec.rb
music-transcription-0.15.0 spec/parsing/numbers/nonnegative_float_spec.rb
music-transcription-0.14.0 spec/parsing/numbers/nonnegative_float_spec.rb
music-transcription-0.13.0 spec/parsing/numbers/nonnegative_float_spec.rb