Sha256: 03a08a4e2888f933282a9a3287da96baedf799a62885ad7dc4ded9faa9977dee
Contents?: true
Size: 539 Bytes
Versions: 2
Compression:
Stored size: 539 Bytes
Contents
require 'spec_helper' require 'ogr' RSpec.describe OGR::MultiPoint25D do describe '#type' do context 'when created with data' do subject { OGR::Geometry.create_from_wkt(wkt) } let(:wkt) { 'MULTIPOINT((1 2 3),(2 2 3))' } it 'returns :wkbPoint25D' do expect(subject.type).to eq :wkbMultiPoint25D end end context 'when created without data' do subject { described_class.new } it 'returns :wkbPoint' do expect(subject.type).to eq :wkbMultiPoint 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_point_25d_spec.rb |
ffi-gdal-1.0.0.beta6 | spec/unit/ogr/geometries/multi_point_25d_spec.rb |