Sha256: 5dc05c05fc42e656d9cf1769147acc36a242e6425f919acaaa354e16eec19c53

Contents?: true

Size: 577 Bytes

Versions: 13

Compression:

Stored size: 577 Bytes

Contents

# frozen_string_literal: true

require_relative '../../spec_helper' # Use the RSpec framework
require_relative '../../../lib/zenlish/parser/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

13 entries across 13 versions & 1 rubygems

Version Path
zenlish-0.1.13 spec/zenlish/parser/zenlish_grammar_spec.rb
zenlish-0.1.12 spec/zenlish/parser/zenlish_grammar_spec.rb
zenlish-0.1.11 spec/zenlish/parser/zenlish_grammar_spec.rb
zenlish-0.1.10 spec/zenlish/parser/zenlish_grammar_spec.rb
zenlish-0.1.09 spec/zenlish/parser/zenlish_grammar_spec.rb
zenlish-0.1.07 spec/zenlish/parser/zenlish_grammar_spec.rb
zenlish-0.1.06 spec/zenlish/parser/zenlish_grammar_spec.rb
zenlish-0.1.05 spec/zenlish/parser/zenlish_grammar_spec.rb
zenlish-0.1.04 spec/zenlish/parser/zenlish_grammar_spec.rb
zenlish-0.1.03 spec/zenlish/parser/zenlish_grammar_spec.rb
zenlish-0.1.02 spec/zenlish/parser/zenlish_grammar_spec.rb
zenlish-0.1.01 spec/zenlish/parser/zenlish_grammar_spec.rb
zenlish-0.1.0 spec/zenlish/parser/zenlish_grammar_spec.rb