Sha256: 5bb2168510ef3f3b6cc1e131d9c2b621602ca49532f3d6f95538428f40efc578

Contents?: true

Size: 830 Bytes

Versions: 15

Compression:

Stored size: 830 Bytes

Contents

# frozen_string_literal: true

require_relative '../../spec_helper'

require_relative '../../../lib/rley/gfg/start_vertex'
require_relative '../../../lib/rley/gfg/end_vertex'

# Load the class under test
require_relative '../../../lib/rley/gfg/epsilon_edge'

module Rley # Open this namespace to avoid module qualifier prefixes
  module GFG # Open this namespace to avoid module qualifier prefixes
    describe Edge do
      let(:vertex1) { StartVertex.new('from') }
      let(:vertex2) { StartVertex.new('to') }
      subject { EpsilonEdge.new(vertex1, vertex2) }

      context 'Initialization:' do
        it 'should be created with two vertice arguments' do
          expect { EpsilonEdge.new(vertex1, vertex2) }.not_to raise_error
        end
      end # context
    end # describe
  end # module
end # module

# End of file

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rley-0.8.11 spec/rley/gfg/epsilon_edge_spec.rb
rley-0.8.10 spec/rley/gfg/epsilon_edge_spec.rb
rley-0.8.09 spec/rley/gfg/epsilon_edge_spec.rb
rley-0.8.08 spec/rley/gfg/epsilon_edge_spec.rb
rley-0.8.06 spec/rley/gfg/epsilon_edge_spec.rb
rley-0.8.05 spec/rley/gfg/epsilon_edge_spec.rb
rley-0.8.03 spec/rley/gfg/epsilon_edge_spec.rb
rley-0.8.02 spec/rley/gfg/epsilon_edge_spec.rb
rley-0.8.01 spec/rley/gfg/epsilon_edge_spec.rb
rley-0.8.00 spec/rley/gfg/epsilon_edge_spec.rb
rley-0.7.08 spec/rley/gfg/epsilon_edge_spec.rb
rley-0.7.07 spec/rley/gfg/epsilon_edge_spec.rb
rley-0.7.06 spec/rley/gfg/epsilon_edge_spec.rb
rley-0.7.05 spec/rley/gfg/epsilon_edge_spec.rb
rley-0.7.04 spec/rley/gfg/epsilon_edge_spec.rb