* headers.mk: add new header to distribution.
* mln/make/h_mat.hh: create a h_mat from a C-style array.
* tests/unit_test/Makefile.am,
* tests/unit_test/mln_make_h_mat.cc: add unit test.
---
milena/ChangeLog | 38 +++++++++
milena/headers.mk | 1 +
milena/mln/make/h_mat.hh | 121 ++++++++++++++++++++++++++++++
milena/tests/unit_test/Makefile.am | 1 +
milena/tests/unit_test/mln_make_h_mat.cc | 11 +++
5 files changed, 172 insertions(+), 0 deletions(-)
create mode 100644 milena/mln/make/h_mat.hh
create mode 100644 milena/tests/unit_test/mln_make_h_mat.cc
diff --git a/milena/ChangeLog b/milena/ChangeLog
index eb424b1..58b16ad 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,43 @@
2009-02-02 Guillaume Lazzara <z(a)lrde.epita.fr>
+ Add make::h_mat.
+
+ * headers.mk: add new header to distribution.
+
+ * mln/make/h_mat.hh: create a h_mat from a C-style array.
+
+ * tests/unit_test/Makefile.am,
+ * tests/unit_test/mln_make_h_mat.cc: add unit test.
+
+2009-02-02 Guillaume Lazzara <z(a)lrde.epita.fr>
+
+ Add core/alias/all.hh and alias/vec3d.hh.
+
+ * doc/tutorial/examples/examples.mk
+ * doc/tutorial/figures/figures.mk
+ * doc/tutorial/outputs/outputs.mk
+ * doc/tutorial/samples/samples.mk: Update generated files.
+
+ * headers.mk: add new header to distribution.
+
+ * mln/core/alias/all.hh: new header.
+
+ * mln/core/alias/vec3d.hh: new aliases for 3d algebra::vec.
+
+ * mln/core/alias/box2d.hh,
+ * mln/core/alias/box3d.hh: update comments.
+
+ * mln/core/all.hh: include alias/all.hh.
+
+ * mln/essential/3d.hh: add image3d.hh and vec3d.hh.
+
+ * tests/unit_test/Makefile.am,
+ * tests/unit_test/mln_core_alias_all.cc,
+ * tests/unit_test/mln_core_alias_vec3d.cc,
+ * tests/unit_test/mln_make_image3d.cc: add new unit test files.
+
+2009-02-02 Guillaume Lazzara <z(a)lrde.epita.fr>
+
Fix tutorial generation.
* doc/tutorial/generate_dist_files.sh: dot not include current
diff --git a/milena/headers.mk b/milena/headers.mk
index 037b5cc..04bef51 100644
--- a/milena/headers.mk
+++ b/milena/headers.mk
@@ -148,6 +148,7 @@ mln/make/w_window2d_int.hh \
mln/make/box1d.hh \
mln/make/voronoi.hh \
mln/make/box2d.hh \
+mln/make/h_mat.hh \
mln/make/w_window2d.hh \
mln/make/box3d.hh \
mln/make/relabelfun.hh \
diff --git a/milena/mln/make/h_mat.hh b/milena/mln/make/h_mat.hh
new file mode 100644
index 0000000..930c133
--- /dev/null
+++ b/milena/mln/make/h_mat.hh
@@ -0,0 +1,121 @@
+// Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE)
+//
+// This file is part of the Olena Library. This library is free
+// software; you can redistribute it and/or modify it under the terms
+// of the GNU General Public License version 2 as published by the
+// Free Software Foundation.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this library; see the file COPYING. If not, write to
+// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
+// Boston, MA 02111-1307, USA.
+//
+// As a special exception, you may use this file as part of a free
+// software library without restriction. Specifically, if other files
+// instantiate templates or use macros or inline functions from this
+// file, or you compile this file and link it with other files to
+// produce an executable, this file does not by itself cause the
+// resulting executable to be covered by the GNU General Public
+// License. This exception does not however invalidate any other
+// reasons why the executable file might be covered by the GNU General
+// Public License.
+
+#ifndef MLN_MAKE_H_MAT_HH
+# define MLN_MAKE_H_MAT_HH
+
+/// \file mln/make/h_mat.hh
+///
+/// Routine to construct an mln::algebra::h_mat.
+
+# include <mln/algebra/h_mat.hh>
+# include <mln/metal/math/sqrt.hh>
+
+
+namespace mln
+{
+
+ namespace make
+ {
+
+ /// Create an mln::algebra::h_mat<d,T>.
+ /*
+ * \param[in] tab Array of values.
+ *
+ * \pre The array dimension has to be d * d.
+ */
+ template <typename T, unsigned d>
+ algebra::h_mat<d,T> h_mat(const T (&tab)[(d+1)*(d+1)]);
+
+
+ /// Create an mln::algebra::h_mat<d,T>.
+ /*
+ * \param[in] tab Array of values.
+ *
+ * \pre The array dimension has to be d * d.
+ */
+ template <typename T, unsigned d>
+ algebra::h_mat<d,T> h_mat(const T (&tab)[d+1][d+1]);
+
+
+ /// reate an mln::algebra::mat<n,n,T>.
+ /*
+ * \param[in] tab C-array of values.
+ *
+ * \pre The array dimension N has to be square (N = n * n).
+ */
+ template <typename T, unsigned N>
+ algebra::h_mat<mlc_sqrt_int(N), T> h_mat(const T (&tab)[N]);
+
+
+
+# ifndef MLN_INCLUDE_ONLY
+
+ template <typename T, unsigned d>
+ inline
+ algebra::h_mat<d,T>
+ h_mat(const T (&tab)[(d+1)*(d+1)])
+ {
+ algebra::h_mat<d,T> tmp;
+ for (unsigned i = 0; i <= d; ++i)
+ tmp(i / (d+1), i % (d+1)) = tab[i];
+ return tmp;
+ }
+
+
+ template <typename T, unsigned d>
+ algebra::h_mat<d,T>
+ h_mat(const T (&tab)[d+1][d+1])
+ {
+ algebra::h_mat<d,T> tmp;
+ for (unsigned i = 0; i <= d; ++i)
+ for (unsigned j = 0; j <= d; ++j)
+ tmp(i, j) = tab[i][j];
+ return tmp;
+ }
+
+
+ template <typename T, unsigned N>
+ inline
+ algebra::h_mat<mlc_sqrt_int(N), T>
+ h_mat(const T (&tab)[N])
+ {
+ enum { n = mlc_sqrt_int(N) };
+ mlc_bool(N == n * n)::check();
+ algebra::h_mat<n,T> tmp;
+ for (unsigned i = 0; i < N; ++i)
+ tmp(i / n, i % n) = tab[i];
+ return tmp;
+ }
+
+# endif // ! MLN_INCLUDE_ONLY
+
+ } // end of namespace mln::make
+
+} // end of namespace mln
+
+#endif // ! MLN_MAKE_H_MAT_HH
diff --git a/milena/tests/unit_test/Makefile.am b/milena/tests/unit_test/Makefile.am
index 2653f23..a6b6b26 100644
--- a/milena/tests/unit_test/Makefile.am
+++ b/milena/tests/unit_test/Makefile.am
@@ -145,6 +145,7 @@ mln_make_w_window2d_int \
mln_make_box1d \
mln_make_voronoi \
mln_make_box2d \
+mln_make_h_mat \
mln_make_w_window2d \
mln_make_box3d \
mln_make_relabelfun \
diff --git a/milena/tests/unit_test/mln_make_h_mat.cc b/milena/tests/unit_test/mln_make_h_mat.cc
new file mode 100644
index 0000000..b572cb4
--- /dev/null
+++ b/milena/tests/unit_test/mln_make_h_mat.cc
@@ -0,0 +1,11 @@
+// Unit test for mln/make/h_mat.hh.
+// Generated by ./build_unit_test.sh, do not modify.
+
+// Include the file twice, so we detect missing inclusion guards.
+#include <mln/make/h_mat.hh>
+#include <mln/make/h_mat.hh>
+
+int main()
+{
+ // Nothing.
+}
--
1.5.6.5
* doc/tutorial/examples/examples.mk
* doc/tutorial/figures/figures.mk
* doc/tutorial/outputs/outputs.mk
* doc/tutorial/samples/samples.mk: Update generated files.
* headers.mk: add new header to distribution.
* mln/core/alias/all.hh: new header.
* mln/core/alias/vec3d.hh: new aliases for 3d algebra::vec.
* mln/core/alias/box2d.hh,
* mln/core/alias/box3d.hh: update comments.
* mln/core/all.hh: include alias/all.hh.
* mln/essential/3d.hh: add image3d.hh and vec3d.hh.
* tests/unit_test/Makefile.am,
* tests/unit_test/mln_core_alias_all.cc,
* tests/unit_test/mln_core_alias_vec3d.cc,
* tests/unit_test/mln_make_image3d.cc: add new unit test files.
---
milena/doc/tutorial/examples/examples.mk | 1 -
milena/doc/tutorial/figures/figures.mk | 1 -
milena/doc/tutorial/outputs/outputs.mk | 1 -
milena/doc/tutorial/samples/samples.mk | 1 -
milena/headers.mk | 3 +
milena/mln/core/alias/{box2d.hh => all.hh} | 66 +++++++++++++----------
milena/mln/core/alias/box2d.hh | 27 +++++-----
milena/mln/core/alias/box3d.hh | 27 +++++-----
milena/mln/core/alias/{box3d.hh => vec3d.hh} | 30 +++++------
milena/mln/core/all.hh | 1 +
milena/mln/essential/3d.hh | 2 +
milena/tests/unit_test/Makefile.am | 3 +
milena/tests/unit_test/mln_core_alias_all.cc | 11 ++++
milena/tests/unit_test/mln_core_alias_vec3d.cc | 11 ++++
milena/tests/unit_test/mln_make_image3d.cc | 11 ++++
15 files changed, 118 insertions(+), 78 deletions(-)
copy milena/mln/core/alias/{box2d.hh => all.hh} (56%)
copy milena/mln/core/alias/{box3d.hh => vec3d.hh} (71%)
create mode 100644 milena/tests/unit_test/mln_core_alias_all.cc
create mode 100644 milena/tests/unit_test/mln_core_alias_vec3d.cc
create mode 100644 milena/tests/unit_test/mln_make_image3d.cc
diff --git a/milena/doc/tutorial/examples/examples.mk b/milena/doc/tutorial/examples/examples.mk
index 146f068..7458ead 100644
--- a/milena/doc/tutorial/examples/examples.mk
+++ b/milena/doc/tutorial/examples/examples.mk
@@ -1,6 +1,5 @@
## Generated by ../generate_dist_files, do not modify ##
EXTRA_DIST += \
-examples \
examples/cpp_issue.cc \
examples/sub_image.cc \
examples/sub_image_if.cc \
diff --git a/milena/doc/tutorial/figures/figures.mk b/milena/doc/tutorial/figures/figures.mk
index 3d11a2b..aba2682 100644
--- a/milena/doc/tutorial/figures/figures.mk
+++ b/milena/doc/tutorial/figures/figures.mk
@@ -1,6 +1,5 @@
## Generated by ../generate_dist_files, do not modify ##
EXTRA_DIST += \
-figures \
figures/ima2d-rot-2.ppm \
figures/tuto3_rw_image-1.ppm \
figures/logical-not-2.pbm \
diff --git a/milena/doc/tutorial/outputs/outputs.mk b/milena/doc/tutorial/outputs/outputs.mk
index 7d7596d..c6d318a 100644
--- a/milena/doc/tutorial/outputs/outputs.mk
+++ b/milena/doc/tutorial/outputs/outputs.mk
@@ -1,6 +1,5 @@
## Generated by ../generate_dist_files, do not modify ##
EXTRA_DIST += \
-outputs \
outputs/win-create-1-display.txt \
outputs/win-create-2.txt \
outputs/accu-right-instanciation.txt \
diff --git a/milena/doc/tutorial/samples/samples.mk b/milena/doc/tutorial/samples/samples.mk
index 7213ed1..40b410d 100644
--- a/milena/doc/tutorial/samples/samples.mk
+++ b/milena/doc/tutorial/samples/samples.mk
@@ -1,6 +1,5 @@
## Generated by ../generate_dist_files, do not modify ##
EXTRA_DIST += \
-samples \
samples/paste-call-1.cc \
samples/dpoint-1.cc \
samples/parray-append.cc \
diff --git a/milena/headers.mk b/milena/headers.mk
index 74a3002..037b5cc 100644
--- a/milena/headers.mk
+++ b/milena/headers.mk
@@ -134,6 +134,7 @@ mln/trace/stop.hh \
mln/trace/essential.hh \
mln/make/graph.hh \
mln/make/double_neighb2d.hh \
+mln/make/image3d.hh \
mln/make/dpoint2d_h.hh \
mln/make/w_window.hh \
mln/make/image.hh \
@@ -800,11 +801,13 @@ mln/core/alias/p_run2d.hh \
mln/core/alias/point3d.hh \
mln/core/alias/neighb3d.hh \
mln/core/alias/window3d.hh \
+mln/core/alias/all.hh \
mln/core/alias/neighb2d.hh \
mln/core/alias/complex_image.hh \
mln/core/alias/w_window1d_float.hh \
mln/core/alias/neighb1d.hh \
mln/core/alias/w_window2d_float.hh \
+mln/core/alias/vec3d.hh \
mln/core/alias/w_window2d_int.hh \
mln/core/alias/box1d.hh \
mln/core/alias/box2d.hh \
diff --git a/milena/mln/core/alias/box2d.hh b/milena/mln/core/alias/all.hh
similarity index 56%
copy from milena/mln/core/alias/box2d.hh
copy to milena/mln/core/alias/all.hh
index fb51e5d..ce509a6 100644
--- a/milena/mln/core/alias/box2d.hh
+++ b/milena/mln/core/alias/all.hh
@@ -1,4 +1,4 @@
-// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory
+// Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE)
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
@@ -25,34 +25,42 @@
// reasons why the executable file might be covered by the GNU General
// Public License.
-#ifndef MLN_CORE_SITE_SET_BOX2D_HH
-# define MLN_CORE_SITE_SET_BOX2D_HH
+#ifndef MLN_CORE_ALIAS_ALL_HH
+# define MLN_CORE_ALIAS_ALL_HH
-/*! \file mln/core/alias/box2d.hh
- *
- * \brief Definition of the mln::box2d alias and of construction
- * routines.
- */
+/// \file mln/core/alias/all.hh
+///
+/// File that includes all the aliases.
-# include <mln/core/site_set/box.hh>
-# include <mln/core/alias/point2d.hh>
+#include <box1d.hh>
+#include <box2d.hh>
+#include <box2d_h.hh>
+#include <box3d.hh>
+#include <complex_geometry.hh>
+#include <complex_image.hh>
+#include <dpoint1d.hh>
+#include <dpoint2d.hh>
+#include <dpoint2d_h.hh>
+#include <dpoint3d.hh>
+#include <neighb1d.hh>
+#include <neighb2d.hh>
+#include <neighb3d.hh>
+#include <p_run2d.hh>
+#include <p_runs2d.hh>
+#include <point1d.hh>
+#include <point2d.hh>
+#include <point2d_h.hh>
+#include <point3d.hh>
+#include <point3df.hh>
+#include <vec3d.hh>
+#include <w_window1d_float.hh>
+#include <w_window1d_int.hh>
+#include <w_window2d_float.hh>
+#include <w_window2d_int.hh>
+#include <w_window3d_float.hh>
+#include <w_window3d_int.hh>
+#include <window1d.hh>
+#include <window2d.hh>
+#include <window3d.hh>
-
-namespace mln
-{
-
- /*! \brief Type alias for a box defined on the 2D square grid with
- * integer coordinates.
- *
- * \see mln::win::rectangle2d.
- */
- typedef box<mln::point2d> box2d;
-
-
-} // end of namespace mln
-
-
-# include <mln/make/box2d.hh>
-
-
-#endif // ! MLN_CORE_SITE_SET_BOX2D_HH
+#endif // ! MLN_CORE_ALIAS_ALL_HH
diff --git a/milena/mln/core/alias/box2d.hh b/milena/mln/core/alias/box2d.hh
index fb51e5d..20cae3b 100644
--- a/milena/mln/core/alias/box2d.hh
+++ b/milena/mln/core/alias/box2d.hh
@@ -1,4 +1,5 @@
-// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory
+// Copyright (C) 2007, 2008, 2009 EPITA Research and Development
+// Laboratory (LRDE)
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
@@ -25,14 +26,13 @@
// reasons why the executable file might be covered by the GNU General
// Public License.
-#ifndef MLN_CORE_SITE_SET_BOX2D_HH
-# define MLN_CORE_SITE_SET_BOX2D_HH
+#ifndef MLN_CORE_ALIAS_BOX2D_HH
+# define MLN_CORE_ALIAS_BOX2D_HH
-/*! \file mln/core/alias/box2d.hh
- *
- * \brief Definition of the mln::box2d alias and of construction
- * routines.
- */
+/// \file mln/core/alias/box2d.hh
+///
+/// Definition of the mln::box2d alias and of construction
+/// routines.
# include <mln/core/site_set/box.hh>
# include <mln/core/alias/point2d.hh>
@@ -41,11 +41,10 @@
namespace mln
{
- /*! \brief Type alias for a box defined on the 2D square grid with
- * integer coordinates.
- *
- * \see mln::win::rectangle2d.
- */
+ /// Type alias for a box defined on the 2D square grid with
+ /// integer coordinates.
+ ///
+ /// \see mln::win::rectangle2d.
typedef box<mln::point2d> box2d;
@@ -55,4 +54,4 @@ namespace mln
# include <mln/make/box2d.hh>
-#endif // ! MLN_CORE_SITE_SET_BOX2D_HH
+#endif // ! MLN_CORE_ALIAS_BOX2D_HH
diff --git a/milena/mln/core/alias/box3d.hh b/milena/mln/core/alias/box3d.hh
index 54beaf6..4deafb7 100644
--- a/milena/mln/core/alias/box3d.hh
+++ b/milena/mln/core/alias/box3d.hh
@@ -1,4 +1,5 @@
-// Copyright (C) 2007 EPITA Research and Development Laboratory
+// Copyright (C) 2007, 2009 EPITA Research and Development Laboratory
+// (LRDE)
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
@@ -25,14 +26,13 @@
// reasons why the executable file might be covered by the GNU General
// Public License.
-#ifndef MLN_CORE_SITE_SET_BOX3D_HH
-# define MLN_CORE_SITE_SET_BOX3D_HH
+#ifndef MLN_CORE_ALIAS_BOX3D_HH
+# define MLN_CORE_ALIAS_BOX3D_HH
-/*! \file mln/core/alias/box3d.hh
- *
- * \brief Definition of the mln::box3d alias and of construction
- * routines.
- */
+/// \file mln/core/alias/box3d.hh
+///
+/// Definition of the mln::box3d alias and of construction
+/// routines.
# include <mln/core/site_set/box.hh>
# include <mln/core/alias/point3d.hh>
@@ -41,11 +41,10 @@
namespace mln
{
- /*! \brief Type alias for a box defined on the 3D square grid with
- * integer coordinates.
- *
- * \see mln::win::rectangle3d.
- */
+ /// Type alias for a box defined on the 3D square grid with
+ /// integer coordinates.
+ ///
+ /// \see mln::win::rectangle3d.
typedef box<point3d> box3d;
@@ -55,4 +54,4 @@ namespace mln
# include <mln/make/box3d.hh>
-#endif // ! MLN_CORE_SITE_SET_BOX3D_HH
+#endif // ! MLN_CORE_ALIAS_BOX3D_HH
diff --git a/milena/mln/core/alias/box3d.hh b/milena/mln/core/alias/vec3d.hh
similarity index 71%
copy from milena/mln/core/alias/box3d.hh
copy to milena/mln/core/alias/vec3d.hh
index 54beaf6..621b505 100644
--- a/milena/mln/core/alias/box3d.hh
+++ b/milena/mln/core/alias/vec3d.hh
@@ -1,4 +1,4 @@
-// Copyright (C) 2007 EPITA Research and Development Laboratory
+// Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE)
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
@@ -25,28 +25,24 @@
// reasons why the executable file might be covered by the GNU General
// Public License.
-#ifndef MLN_CORE_SITE_SET_BOX3D_HH
-# define MLN_CORE_SITE_SET_BOX3D_HH
+#ifndef MLN_CORE_ALIAS_VEC3D_HH
+# define MLN_CORE_ALIAS_VEC3D_HH
-/*! \file mln/core/alias/box3d.hh
- *
- * \brief Definition of the mln::box3d alias and of construction
- * routines.
- */
+/// \file mln/core/alias/vec3d.hh
+///
+/// Definition of the mln::vec3d* alias
-# include <mln/core/site_set/box.hh>
-# include <mln/core/alias/point3d.hh>
+# include <mln/algebra/vec.hh>
namespace mln
{
- /*! \brief Type alias for a box defined on the 3D square grid with
- * integer coordinates.
- *
- * \see mln::win::rectangle3d.
- */
- typedef box<point3d> box3d;
+ /// 3D vector with float coordinates.
+ typedef algebra::vec<3u,float> vec3d_f;
+
+ /// 3D vector with double coordinates.
+ typedef algebra::vec<3u,double> vec3d_d;
} // end of namespace mln
@@ -55,4 +51,4 @@ namespace mln
# include <mln/make/box3d.hh>
-#endif // ! MLN_CORE_SITE_SET_BOX3D_HH
+#endif // ! MLN_CORE_ALIAS_VEC3D_HH
diff --git a/milena/mln/core/all.hh b/milena/mln/core/all.hh
index f92dbd8..d0ab2c3 100644
--- a/milena/mln/core/all.hh
+++ b/milena/mln/core/all.hh
@@ -34,6 +34,7 @@
// Sub-directories.
+# include <mln/core/alias/all.hh>
# include <mln/core/concept/all.hh>
# include <mln/core/def/all.hh>
# include <mln/core/image/all.hh>
diff --git a/milena/mln/essential/3d.hh b/milena/mln/essential/3d.hh
index 8d782c6..ec1a602 100644
--- a/milena/mln/essential/3d.hh
+++ b/milena/mln/essential/3d.hh
@@ -34,11 +34,13 @@
# include <mln/core/alias/dpoint3d.hh>
# include <mln/core/alias/neighb3d.hh>
# include <mln/core/alias/point3d.hh>
+# include <mln/core/alias/vec3d.hh>
# include <mln/core/alias/w_window3d_float.hh>
# include <mln/core/alias/w_window3d_int.hh>
# include <mln/core/alias/window3d.hh>
# include <mln/geom/size3d.hh>
# include <mln/make/box3d.hh>
+# include <mln/make/image3d.hh>
# include <mln/make/w_window3d.hh>
# include <mln/make/w_window3d_int.hh>
# include <mln/metal/array3d.hh>
diff --git a/milena/tests/unit_test/Makefile.am b/milena/tests/unit_test/Makefile.am
index 0475cc4..2653f23 100644
--- a/milena/tests/unit_test/Makefile.am
+++ b/milena/tests/unit_test/Makefile.am
@@ -131,6 +131,7 @@ mln_trace_stop \
mln_trace_essential \
mln_make_graph \
mln_make_double_neighb2d \
+mln_make_image3d \
mln_make_dpoint2d_h \
mln_make_w_window \
mln_make_image \
@@ -791,11 +792,13 @@ mln_core_alias_p_run2d \
mln_core_alias_point3d \
mln_core_alias_neighb3d \
mln_core_alias_window3d \
+mln_core_alias_all \
mln_core_alias_neighb2d \
mln_core_alias_complex_image \
mln_core_alias_w_window1d_float \
mln_core_alias_neighb1d \
mln_core_alias_w_window2d_float \
+mln_core_alias_vec3d \
mln_core_alias_w_window2d_int \
mln_core_alias_box1d \
mln_core_alias_box2d \
diff --git a/milena/tests/unit_test/mln_core_alias_all.cc b/milena/tests/unit_test/mln_core_alias_all.cc
new file mode 100644
index 0000000..97f068e
--- /dev/null
+++ b/milena/tests/unit_test/mln_core_alias_all.cc
@@ -0,0 +1,11 @@
+// Unit test for mln/core/alias/all.hh.
+// Generated by ./build_unit_test.sh, do not modify.
+
+// Include the file twice, so we detect missing inclusion guards.
+#include <mln/core/alias/all.hh>
+#include <mln/core/alias/all.hh>
+
+int main()
+{
+ // Nothing.
+}
diff --git a/milena/tests/unit_test/mln_core_alias_vec3d.cc b/milena/tests/unit_test/mln_core_alias_vec3d.cc
new file mode 100644
index 0000000..476c522
--- /dev/null
+++ b/milena/tests/unit_test/mln_core_alias_vec3d.cc
@@ -0,0 +1,11 @@
+// Unit test for mln/core/alias/vec3d.hh.
+// Generated by ./build_unit_test.sh, do not modify.
+
+// Include the file twice, so we detect missing inclusion guards.
+#include <mln/core/alias/vec3d.hh>
+#include <mln/core/alias/vec3d.hh>
+
+int main()
+{
+ // Nothing.
+}
diff --git a/milena/tests/unit_test/mln_make_image3d.cc b/milena/tests/unit_test/mln_make_image3d.cc
new file mode 100644
index 0000000..85fbb01
--- /dev/null
+++ b/milena/tests/unit_test/mln_make_image3d.cc
@@ -0,0 +1,11 @@
+// Unit test for mln/make/image3d.hh.
+// Generated by ./build_unit_test.sh, do not modify.
+
+// Include the file twice, so we detect missing inclusion guards.
+#include <mln/make/image3d.hh>
+#include <mln/make/image3d.hh>
+
+int main()
+{
+ // Nothing.
+}
--
1.5.6.5