Sha256: 74b7abd1aea63e14bf3f52e16ec378d459b599b8a17e71cef1fc6ae47b5cfea0

Contents?: true

Size: 342 Bytes

Versions: 5

Compression:

Stored size: 342 Bytes

Contents

require 'spec_helper'
module Gisele::Language
  describe "the Sexp grammar", "event_set" do

    it 'matches an empty set' do
      (sexp_grammar[:event_set] === [:event_set]).should be_true
    end

    it 'matches a non empty set' do
      (sexp_grammar[:event_set] === [:event_set, "event", "Task:start"]).should be_true
    end

  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
gisele-language-0.6.0 spec/language/grammar_sexp/test_event_set.rb
gisele-language-0.5.1 spec/language/grammar_sexp/test_event_set.rb
gisele-language-0.5.0 spec/language/grammar_sexp/test_event_set.rb
gisele-0.5.0 spec/unit/language/grammar_sexp/test_event_set.rb
gisele-0.4.0 spec/unit/language/grammar_sexp/test_event_set.rb