* tests/data/transform-lambda.cc (main): Remove a useless lambda.
Do not write the output image on the standard output.
---
milena/ChangeLog | 7 +++++++
milena/tests/data/transform-lambda.cc | 4 ----
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 65f6803..745b3b6 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,12 @@
2012-05-22 Roland Levillain <roland(a)lrde.epita.fr>
+ Clean up tests/data/transform-lambda.cc.
+
+ * tests/data/transform-lambda.cc (main): Remove a useless lambda.
+ Do not write the output image on the standard output.
+
+2012-05-22 Roland Levillain <roland(a)lrde.epita.fr>
+
Add an optional test to exercise mln::transform with lambdas.
* tests/data/transform-lambda.cc: New.
diff --git a/milena/tests/data/transform-lambda.cc
b/milena/tests/data/transform-lambda.cc
index 25de53a..d2cf485 100644
--- a/milena/tests/data/transform-lambda.cc
+++ b/milena/tests/data/transform-lambda.cc
@@ -35,7 +35,6 @@
#include <mln/data/transform.hh>
#include <mln/debug/iota.hh>
-#include <mln/debug/println.hh>
/*----------------.
@@ -111,10 +110,7 @@ main()
I input(3, 3);
debug::iota(input);
- auto sqr = [](V x) { return x * x; };
-
I output = data::transform(input, to_fun([](V x) { return x * x; }));
- debug::println(output);
// FIXME: Or use mln::test instead?
mln_piter_(I) p(output.domain());
--
1.7.2.5
Show replies by date