Sha256: a88772e38b9dde9809956d8fa780d1fe4849845716c78457e1a3088dd4e11b99
Contents?: true
Size: 678 Bytes
Versions: 17
Compression:
Stored size: 678 Bytes
Contents
# frozen_string_literal: true require_relative '..\..\spec_helper' require_relative '..\..\..\lib\dendroid\syntax\terminal' describe Dendroid::Syntax::Terminal do let(:sample_terminal_name) { 'INTEGER' } subject { described_class.new(sample_terminal_name) } context 'Provided services:' do it 'knows it is a terminal symbol' do expect(subject.terminal?).to be_truthy end it 'is frozen after initialization' do expect(subject).to be_frozen end it 'is not nullable' do expect(subject).not_to be_nullable end it 'is productive (generative)' do expect(subject).to be_productive end end # context end # describe
Version data entries
17 entries across 17 versions & 1 rubygems