Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Robert Sachunsky
olena
Commits
fd16f7ee
Commit
fd16f7ee
authored
Jul 01, 2010
by
Guillaume Lazzara
Browse files
Fix a few tests.
* tests/core/other/box_runstart_piter.cc, * tests/geom/translate.cc: Fix test.
parent
092bb046
Changes
3
Hide whitespace changes
Inline
Side-by-side
milena/ChangeLog
View file @
fd16f7ee
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.
milena/tests/core/other/box_runstart_piter.cc
View file @
fd16f7ee
// 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
);
}
milena/tests/geom/translate.cc
View file @
fd16f7ee
// 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
().
p
center
().
to_vec
(),
literal
::
zero
,
b
);
mln_piter_
(
image2d
<
bool
>
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment