Sha256: c501bb878a9c5dbc4648069e8c5effd0f07c39ff986b9db883dac001fed18ec5
Contents?: true
Size: 617 Bytes
Versions: 2
Compression:
Stored size: 617 Bytes
Contents
require 'spec_helper' module Gisele::Language::Syntax describe Grammar, 'trackvar_def' do it 'parses valid tracking variable definitions' do defn = 'trackvar plateletLow {BloodTest:end}' parse(defn, :trackvar_def).should eq(defn) end it 'supports an optional initial value' do defn = 'trackvar plateletLow {BloodTest:end} initially false' parse(defn, :trackvar_def).should eq(defn) end it 'supports optional obsolete events' do defn = 'trackvar plateletLow {BloodTest:end}, {Chemotherapy:end}' parse(defn, :trackvar_def).should eq(defn) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gisele-0.4.0 | spec/unit/language/syntax/grammar/test_trackvar_def.rb |
gisele-0.3.0 | spec/unit/language/syntax/grammar/test_trackvar_def.rb |