Skip to content

Commit

Permalink
Begin creating framework for testing refinement
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonCampolattaro committed Jun 26, 2020
1 parent 66c9142 commit a3cc923
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Octree/test/Octree/CMakeLists.txt
Expand Up @@ -8,6 +8,8 @@ find_package(CGAL REQUIRED QUIET OPTIONAL_COMPONENTS Core )

create_single_source_cgal_program( "octree_test.cpp" )
create_single_source_cgal_program( "test_octree_equality.cpp" )
create_single_source_cgal_program( "test_octree_refine.cpp" )

create_single_source_cgal_program( "test_node_index.cpp" )
create_single_source_cgal_program( "test_tree_walk.cpp" )

34 changes: 34 additions & 0 deletions Octree/test/Octree/test_octree_refine.cpp
@@ -0,0 +1,34 @@

#define CGAL_TRACE_STREAM std::cerr

#include <iostream>
#include <CGAL/Octree.h>
#include <CGAL/Octree/IO.h>
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Point_set_3.h>

typedef CGAL::Simple_cartesian<double> Kernel;
typedef Kernel::Point_3 Point;
typedef CGAL::Point_set_3<Point> Point_set;
typedef CGAL::Octree
<Point_set, typename Point_set::Point_map>
Octree;


int test_single_point() {



return 0;
}

int main(void) {

int failures = 0;

failures += test_single_point();

if (0 == failures)
return EXIT_SUCCESS;
return failures;
}

0 comments on commit a3cc923

Please sign in to comment.