* apps/statues/test-mesh-complex-skel.in: New test.
* apps/statues/Makefile.am (TESTS): Add test-mesh-complex-skel.
---
milena/ChangeLog | 7 +++++++
milena/apps/statues/Makefile.am | 1 +
milena/apps/statues/test-mesh-complex-skel.in | 10 ++++++++++
3 files changed, 18 insertions(+), 0 deletions(-)
create mode 100644 milena/apps/statues/test-mesh-complex-skel.in
diff --git a/milena/ChangeLog b/milena/ChangeLog
index ab602ac..910aac6 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,12 @@
2009-04-06 Roland Levillain <roland(a)lrde.epita.fr>
+ Exercise apps/statues/mesh-complex-skel.
+
+ * apps/statues/test-mesh-complex-skel.in: New test.
+ * apps/statues/Makefile.am (TESTS): Add test-mesh-complex-skel.
+
+2009-04-06 Roland Levillain <roland(a)lrde.epita.fr>
+
Write and application computing skeletons on complex-based images.
* apps/statues/mesh-complex-skel.cc: New.
diff --git a/milena/apps/statues/Makefile.am b/milena/apps/statues/Makefile.am
index 9c7c9ca..1407fbe 100644
--- a/milena/apps/statues/Makefile.am
+++ b/milena/apps/statues/Makefile.am
@@ -110,3 +110,4 @@ TESTS += test-mesh-complex-max-curv-segm
# Skeletonization program working on precomputed meshes with curvatures data.
bin_PROGRAMS += mesh-complex-skel
mesh_complex_skel_SOURCES = mesh-complex-skel.cc
+TESTS += test-mesh-complex-skel
diff --git a/milena/apps/statues/test-mesh-complex-skel.in
b/milena/apps/statues/test-mesh-complex-skel.in
new file mode 100644
index 0000000..1f8a184
--- /dev/null
+++ b/milena/apps/statues/test-mesh-complex-skel.in
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+set -ex
+
+mesh_dir=@top_srcdir@/milena/mesh
+
+time ./mesh-complex-skel $mesh_dir/three-triangles.off 25 three-triangles-skel.off
+time ./mesh-complex-skel $mesh_dir/socket-max-curv.off 25 socket-max-curv-skel.off
+time ./mesh-complex-skel $mesh_dir/teapot-max-curv.off 50 teapot-max-curv-skel.off
+time ./mesh-complex-skel $mesh_dir/bunny-holefilled-pinv-curv.off 500
bunny-holefilled-pinv-curv-skel.off
--
1.6.1.2
Show replies by date