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