Sha256: 4a9f9b25749c07a2d7f46032277d1e541facf7f081feeb4693baf701d2a9396e
Contents?: true
Size: 620 Bytes
Versions: 2
Compression:
Stored size: 620 Bytes
Contents
require 'spec_helper' require 'ogr' RSpec.describe OGR::GeometryCollection25D do describe '#type' do context 'when created with data' do subject { OGR::Geometry.create_from_wkt(wkt) } let(:wkt) { 'GEOMETRYCOLLECTION(POINT(4 6 8),LINESTRING(4 6 8,7 10 11))' } it 'returns :wkbGeometryCollection25D' do expect(subject.type).to eq :wkbGeometryCollection25D end end context 'when created without data' do subject { described_class.new } it 'returns :wkbGeometryCollection' do expect(subject.type).to eq :wkbGeometryCollection 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/geometry_collection_25d_spec.rb |
ffi-gdal-1.0.0.beta6 | spec/unit/ogr/geometries/geometry_collection_25d_spec.rb |