⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 segmentpointcomparatortest.cpp

📁 在Linux下做的QuadTree的程序
💻 CPP
字号:
// $Id: SegmentPointComparatorTest.cpp 1820 2006-09-06 16:54:23Z mloskot $// // Test Suite for geos::noding::SegmentPointComparator class.// TUT#include <tut.h>// GEOS#include <geos/noding/SegmentNode.h>#include <geos/geom/Coordinate.h>#include <geos/geom/CoordinateSequence.h>#include <geos/geom/CoordinateArraySequenceFactory.h>#include <memory>namespace tut{    //    // Test Group    //    // Common data used by tests    struct test_segmentpointcomparator_data    {    	typedef std::auto_ptr<geos::geom::CoordinateSequence>            CoordinateSequenceAutoPtr;    	typedef std::auto_ptr<geos::noding::SegmentString>            SegmentStringAutoPtr;	        const geos::geom::CoordinateSequenceFactory* csFactory;        test_segmentpointcomparator_data()            : csFactory(geos::geom::CoordinateArraySequenceFactory::instance())	    {}    };    typedef test_group<test_segmentpointcomparator_data> group;    typedef group::object object;    group test_segmentpointcomparator_group("geos::noding::SegmentPointComparator");    //    // Test Cases    //    // TODO    template<>    template<>    void object::test<1>()    {        // TODO - mloskot add test cases    }} // namespace tut

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -