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