Sha256: b0b7d154a22be69509c66c7c6397c01e9528abcd703dc42f9752d0a83297f126
Contents?: true
Size: 627 Bytes
Versions: 9
Compression:
Stored size: 627 Bytes
Contents
# frozen_string_literal: true 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
9 entries across 9 versions & 1 rubygems