File Coverage

xsi/PrepGeometryFactory.xsi
Criterion Covered Total %
statement 3 3 100.0
branch 1 2 50.0
condition n/a
subroutine n/a
pod n/a
total 4 5 80.0


line stmt bran cond sub pod time code
1             MODULE = Geo::Geos PACKAGE = Geo::Geos::Prep::GeometryFactory
2             PROTOTYPES: DISABLE
3              
4             BasicPreparedGeometry* prepare(Geometry& g) {
5 4           auto pg = const_cast(PreparedGeometryFactory::prepare(&g));
6 2 50         RETVAL = static_cast(pg);
7 2           }