Sha256: 764bc36d9e3937fc1bbb657355dc8db6a51826d069fb8045ec0b1bc75ee5debb
Contents?: true
Size: 373 Bytes
Versions: 9
Compression:
Stored size: 373 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' require 'ogr/geometry' RSpec.describe OGR::NoneGeometry do skip 'Not sure how to instantiate one of these' 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::NoneGeometry end end
Version data entries
9 entries across 9 versions & 1 rubygems