olena: olena-2.0-877-geefb756 Remove irrelevant Milena test value/interop.

* tests/value/interop.cc: Remove. * tests/value/Makefile.am (check_PROGRAMS): Remove interop. --- milena/ChangeLog | 7 +++ milena/tests/value/Makefile.am | 5 +- milena/tests/value/interop.cc | 107 ---------------------------------------- 3 files changed, 9 insertions(+), 110 deletions(-) delete mode 100644 milena/tests/value/interop.cc diff --git a/milena/ChangeLog b/milena/ChangeLog index aa0c433..fd9e2d4 100644 --- a/milena/ChangeLog +++ b/milena/ChangeLog @@ -1,3 +1,10 @@ +2014-06-24 Roland Levillain <roland@lrde.epita.fr> + + Remove irrelevant Milena test value/interop. + + * tests/value/interop.cc: Remove. + * tests/value/Makefile.am (check_PROGRAMS): Remove interop. + 2014-06-20 Roland Levillain <roland@lrde.epita.fr> Remove mentions to trash/ directories in Milena. diff --git a/milena/tests/value/Makefile.am b/milena/tests/value/Makefile.am index 21ca6f4..8c38907 100644 --- a/milena/tests/value/Makefile.am +++ b/milena/tests/value/Makefile.am @@ -1,5 +1,5 @@ -# Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 EPITA Research and -# Development Laboratory (LRDE). +# Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 EPITA +# Research and Development Laboratory (LRDE). # # This file is part of Olena. # @@ -29,7 +29,6 @@ check_PROGRAMS = \ int_s \ int_s16 \ int_u8 \ - interop \ label \ proxy \ rgb8 \ diff --git a/milena/tests/value/interop.cc b/milena/tests/value/interop.cc deleted file mode 100644 index 672b231..0000000 --- a/milena/tests/value/interop.cc +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright (C) 2007, 2008, 2009 EPITA Research and Development Laboratory (LRDE) -// -// This file is part of Olena. -// -// Olena is free software: you can redistribute it and/or modify it under -// the terms of the GNU General Public License as published by the Free -// Software Foundation, version 2 of the License. -// -// Olena 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 Olena. If not, see <http://www.gnu.org/licenses/>. -// -// As a special exception, you may use this file as part of a free -// software project 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. - -#include <mln/value/int_u8.hh> -#include <mln/value/int_s8.hh> -#include <mln/value/int_u16.hh> -#include <mln/value/float01_8.hh> - -int main() -{ - using namespace mln; - using value::int_u8; - using value::int_u16; - using value::float01_8; - - - // Tests on int_u<n> alone. - { - int_u8 i; - i = 51; - i *= 2; - } - - using value::int_s8; - - // FIXME: Dead code? -// { -// // Operations on int_u<n> -// int_u8 i = 128; -// int_u16 j = 42; -// int_s8 k = 42; -// float01_8 x; - -// (j = j + i) = i + j; -// mln_assertion(j == (128 + 42)); - -// (k = j - i) = i - j; -// mln_assertion(k == (-42)); - -// j = 2; -// (j = j * i) = i * j; -// mln_assertion(j == (2 * 128)); - -// (x = (j / i) / ((j / i) + 0.1)) -// = (i / j) / ((i / j) + 0.1); - -// // std::cout << i + i << std::endl; -// // float01_8 f = i / 200.5; -// // std::cout << x << std::endl; -// } - -// { -// // Operations on int_u<n> and int / float -// int_u16 j = 42; -// int_s8 k = 42; -// float x; - -// // int -// (k = j - 123) = 123 - j; -// (j = j + 123) = 123 + j; -// (j = j * 4) = 4 * j; - -// (j = j / 4) = 4 / j; - -// // float -// x = (j / 4.5 * 3.4 + 3.5 - 5.6) / 0.0234; -// } - - -// { -// // Operations on int_u<n> and float01_8 -// int_u16 j = 42; -// float01_8 x = 0.456; - -// x = x / j; -// mln_assertion(x < 0 && x < 1); - -// x = x * j; -// mln_assertion(x < 0 && x < 1); - -// x = x * j; -// mln_assertion(x < 0 && x < 1); -// } - -} -- 1.7.10.4
participants (1)
-
Roland Levillain