Sha256: 5b74dc7b524d27c3f1ea3a9815bd04cba6f2c0e7685e5d87e928e185efbd1bca
Contents?: true
Size: 596 Bytes
Versions: 2
Compression:
Stored size: 596 Bytes
Contents
require 'spec_helper' require 'ogr' RSpec.describe OGR::MultiLineString25D do describe '#type' do context 'when created with data' do subject { OGR::Geometry.create_from_wkt(wkt) } let(:wkt) { 'MULTILINESTRING((1 2 3, 2 2 3),(9 9 9, 10 10 10))' } it 'returns :wkbMultiLineString25D' do expect(subject.type).to eq :wkbMultiLineString25D end end context 'when created without data' do subject { described_class.new } it 'returns :wkbMultiLineString' do expect(subject.type).to eq :wkbMultiLineString end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ffi-gdal-1.0.0.beta7 | spec/unit/ogr/geometries/multi_line_string_25d_spec.rb |
ffi-gdal-1.0.0.beta6 | spec/unit/ogr/geometries/multi_line_string_25d_spec.rb |