Sha256: c88eb97cac24e533838b91d557330d71212e6563fcd134bb31286ea4d8456a30

Contents?: true

Size: 575 Bytes

Versions: 18

Compression:

Stored size: 575 Bytes

Contents

# frozen_string_literal: true

require_relative '../../spec_helper' # Use the RSpec framework
require_relative '../../../lib/zenlish/lang/zenlish_grammar' # Load the class under test

module Zenlish
  module Parser
    describe ZenlishGrammar do
      subject { ZenlishGrammar }

      context 'Initialization:' do
        it 'should know its terminal symbols' do
          expect { subject.name2symbol['CommonNoun'] }.not_to raise_error
        end
      end # context

      context 'Provided services:' do
      end # context
    end # describe
  end # module
end # module

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
zenlish-0.2.05 spec/zenlish/lang/zenlish_grammar_spec.rb
zenlish-0.2.04 spec/zenlish/lang/zenlish_grammar_spec.rb
zenlish-0.2.03 spec/zenlish/lang/zenlish_grammar_spec.rb
zenlish-0.2.02 spec/zenlish/lang/zenlish_grammar_spec.rb
zenlish-0.2.01 spec/zenlish/lang/zenlish_grammar_spec.rb
zenlish-0.2.00 spec/zenlish/lang/zenlish_grammar_spec.rb
zenlish-0.1.25 spec/zenlish/lang/zenlish_grammar_spec.rb
zenlish-0.1.24 spec/zenlish/lang/zenlish_grammar_spec.rb
zenlish-0.1.23 spec/zenlish/lang/zenlish_grammar_spec.rb
zenlish-0.1.22 spec/zenlish/lang/zenlish_grammar_spec.rb
zenlish-0.1.21 spec/zenlish/lang/zenlish_grammar_spec.rb
zenlish-0.1.20 spec/zenlish/lang/zenlish_grammar_spec.rb
zenlish-0.1.19 spec/zenlish/lang/zenlish_grammar_spec.rb
zenlish-0.1.18 spec/zenlish/lang/zenlish_grammar_spec.rb
zenlish-0.1.17 spec/zenlish/lang/zenlish_grammar_spec.rb
zenlish-0.1.16 spec/zenlish/lang/zenlish_grammar_spec.rb
zenlish-0.1.15 spec/zenlish/lang/zenlish_grammar_spec.rb
zenlish-0.1.14 spec/zenlish/lang/zenlish_grammar_spec.rb