Commit fd16f7ee authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

Fix a few tests.

	* tests/core/other/box_runstart_piter.cc,
	* tests/geom/translate.cc: Fix test.
parent 092bb046
2010-07-01 Guillaume Lazzara <z@lrde.epita.fr>
Fix a few tests.
* tests/core/other/box_runstart_piter.cc,
* tests/geom/translate.cc: Fix test.
2010-07-01 Guillaume Lazzara <z@lrde.epita.fr>
 
Update generated images included in the doc.
// Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2009, 2010 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of Olena.
//
......@@ -35,7 +36,7 @@ int main()
box_runstart_piter<point2d> p(b);
unsigned i = 0;
for_all(p)
mln_assertion(p == point2d(i, 0));
mln_assertion(p == point2d(i++, 0));
mln_assertion(p.run_length() == 3);
}
// Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2009, 2010 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of Olena.
//
......@@ -45,7 +46,7 @@ int main()
box2d b = make::box2d(-2, -2, 2, 2);
image2d<bool>
ima_rot = geom::translate(ima,
-1 * ima.domain().center().to_vec(),
-1 * ima.domain().pcenter().to_vec(),
literal::zero, b);
mln_piter_(image2d<bool>)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment