Sha256: b9cbfe2d19cc33f7b626e01673103d0e31aa76a26134143f435a9937353747af
Contents?: true
Size: 577 Bytes
Versions: 9
Compression:
Stored size: 577 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' require 'ogr' RSpec.describe OGR::LineString25D do describe '#type' do context 'when created with data' do subject { OGR::Geometry.create_from_wkt(wkt) } let(:wkt) { 'LINESTRING(1 2 3, 2 2 3)' } it 'returns :wkbLineString25D' do expect(subject.type).to eq :wkbLineString25D end end context 'when created without data' do subject { described_class.new } it 'returns :wkbLineString' do expect(subject.type).to eq :wkbLineString end end end end
Version data entries
9 entries across 9 versions & 1 rubygems