Sha256: e6ebf3ad26cb06062a044e3f5170761e6943804c6f3baf7db02ff5f3e516451b
Contents?: true
Size: 419 Bytes
Versions: 18
Compression:
Stored size: 419 Bytes
Contents
require 'spec_helper' describe Finitio, "parse" do context 'with a string' do subject{ Finitio.parse <<-EOF Posint = .Fixnum( i | i>=0 ) Point = { x: Posint, y: Posint } EOF } it{ should be_a(Finitio::Syntax::System) } end context 'with a Path' do subject{ Finitio.parse(Path.dir/"system.fio") } it{ should be_a(Finitio::Syntax::System) } end end
Version data entries
18 entries across 18 versions & 1 rubygems