Sha256: 3a8cdb1e6aed1967b2798f408698b823e7fb0be28e9c8282c55c407a6b77414b
Contents?: true
Size: 351 Bytes
Versions: 3
Compression:
Stored size: 351 Bytes
Contents
require 'spec_helper' describe Qrb, "parse" do subject{ Qrb.parse <<-EOF Posint = .Fixnum( i | i>=0 ) Point = { x: Posint, y: Posint } EOF } it{ should be_a(Qrb::System) } it 'should have the expected types' do subject["Posint"].should be_a(Qrb::SubType) subject["Point"].should be_a(Qrb::TupleType) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
qrb-0.3.0 | spec/unit/qrb/test_parse.rb |
qrb-0.2.0 | spec/unit/qrb/test_parse.rb |
qrb-0.1.0 | spec/unit/qrb/test_parse.rb |