Sha256: d122613e0285473ce3e49bc3b84b68816ec544d1012d033ab31f530f76bdf40c
Contents?: true
Size: 297 Bytes
Versions: 4
Compression:
Stored size: 297 Bytes
Contents
require 'spec_helper' require 'ogr/geometry' RSpec.describe OGR::UnknownGeometry do it 'can be created from a pointer to a geometry' do geom_ptr = FFI::OGR::API.OGR_G_CreateGeometry(:wkbPoint) geom = described_class.new(geom_ptr) expect(geom).to be_a OGR::UnknownGeometry end end
Version data entries
4 entries across 4 versions & 1 rubygems