diff --git a/tvmet-1.7.1/testsuite/TestNumericTraits.cc b/tvmet-1.7.1/testsuite/TestNumericTraits.cc deleted file mode 100644 index 902301764..000000000 --- a/tvmet-1.7.1/testsuite/TestNumericTraits.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Tiny Vector Matrix Library - * Dense Vector Matrix Libary of Tiny size using Expression Templates - * - * Copyright (C) 2001 - 2003 Olaf Petzold - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * $Id: TestTraits.cc,v 1.1 2004/09/15 07:51:43 opetzold Exp $ - */ - -#include -#include - -#include -#include - - -/**************************************************************************** - * instance - ****************************************************************************/ - -CPPUNIT_TEST_SUITE_REGISTRATION( TestTraits ); -CPPUNIT_TEST_SUITE_REGISTRATION( TestTraits ); -CPPUNIT_TEST_SUITE_REGISTRATION( TestTraits ); -CPPUNIT_TEST_SUITE_REGISTRATION( TestTraits ); -CPPUNIT_TEST_SUITE_REGISTRATION( TestTraits ); -CPPUNIT_TEST_SUITE_REGISTRATION( TestTraits ); -CPPUNIT_TEST_SUITE_REGISTRATION( TestTraits ); -CPPUNIT_TEST_SUITE_REGISTRATION( TestTraits ); - -CPPUNIT_TEST_SUITE_REGISTRATION( TestTraits ); -CPPUNIT_TEST_SUITE_REGISTRATION( TestTraits ); -#if defined(TVMET_HAVE_LONG_DOUBLE) -CPPUNIT_TEST_SUITE_REGISTRATION( TestTraits ); -#endif diff --git a/tvmet-1.7.1/testsuite/TestNumericTraits.h b/tvmet-1.7.1/testsuite/TestNumericTraits.h deleted file mode 100644 index 31739facd..000000000 --- a/tvmet-1.7.1/testsuite/TestNumericTraits.h +++ /dev/null @@ -1,261 +0,0 @@ -/* - * Tiny Vector Matrix Library - * Dense Vector Matrix Libary of Tiny size using Expression Templates - * - * Copyright (C) 2001 - 2003 Olaf Petzold - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * $Id: TestTraits.h,v 1.2 2004/11/04 18:12:40 opetzold Exp $ - */ - -#ifndef TVMET_TEST_NUMERIC_TRAITS_H -#define TVMET_TEST_NUMERIC_TRAITS_H - -#include - -#include - -#include -#include - -#include - -template -class TestTraits : public CppUnit::TestFixture -{ - CPPUNIT_TEST_SUITE( TestTraits ); - CPPUNIT_TEST( Real ); - CPPUNIT_TEST( Imag ); - CPPUNIT_TEST( Conj ); - CPPUNIT_TEST( Abs ); - CPPUNIT_TEST( Sqrt ); - CPPUNIT_TEST( Norm_1 ); - CPPUNIT_TEST( Norm_2 ); - CPPUNIT_TEST( Norm_Inf ); - CPPUNIT_TEST( Equals ); - CPPUNIT_TEST_SUITE_END(); - -private: - typedef tvmet::Vector vector_type; - typedef tvmet::Matrix matrix_type; - -public: - TestTraits() - : m_real(4), m_imag(9), - m_conj(16), - m_abs_Q1(7), m_abs_Q2(-m_abs_Q1) - { } - -public: // cppunit interface - /** cppunit hook for fixture set up. */ - void setUp(); - - /** cppunit hook for fixture tear down. */ - void tearDown(); - -protected: - void Real(); - void Imag(); - void Conj(); - void Abs(); - void Sqrt(); - void Norm_1(); - void Norm_2(); - void Norm_Inf(); - void Equals(); - -protected: - // Helper - void AbsHelper(tvmet::dispatch, const T&); - void AbsHelper(tvmet::dispatch, const T&); - -private: - const T m_real; - const T m_imag; - const T m_conj; - const T m_abs_Q1; - const T m_abs_Q2; -}; - -/***************************************************************************** - * Implementation Part I (cppunit part) - ****************************************************************************/ - -template -void TestTraits::setUp () { } - -template -void TestTraits::tearDown() { } - -/***************************************************************************** - * Implementation Part II - ****************************************************************************/ - -template -void -TestTraits::Real() -{ - typedef typename tvmet::Traits::base_type real_type; - - real_type r = tvmet::Traits::real(m_real); - - CPPUNIT_ASSERT( r == m_real ); -} - - -template -void -TestTraits::Imag() -{ - typedef typename tvmet::Traits::base_type imag_type; - - imag_type r = tvmet::Traits::imag(m_imag); - - CPPUNIT_ASSERT( r == 0 ); -} - - -// conj only for signed types !! -template <> void TestTraits::Conj() { } -template <> void TestTraits::Conj() { } -template <> void TestTraits::Conj() { } -template <> void TestTraits::Conj() { } - -template -void -TestTraits::Conj() -{ - typedef typename tvmet::Traits::base_type conj_type; - - conj_type r = tvmet::Traits::conj(m_conj); - - CPPUNIT_ASSERT( r == m_conj ); -} - - -template -void -TestTraits::Abs() -{ - typedef typename tvmet::Traits::base_type value_type; - - enum { - is_signed = std::numeric_limits::is_signed - }; - - value_type r1 = tvmet::Traits::abs(m_abs_Q1); - value_type r2 = tvmet::Traits::abs(m_abs_Q2); - - CPPUNIT_ASSERT( r1 == m_abs_Q1 ); - - // result depends on signed type - AbsHelper(tvmet::dispatch(), r2); -} - - -template -void -TestTraits::AbsHelper(tvmet::dispatch, const T& r) -{ - // signed type - CPPUNIT_ASSERT( r == (m_abs_Q1) ); -} - - -template -void -TestTraits::AbsHelper(tvmet::dispatch, const T& r) -{ - // unsigned type - CPPUNIT_ASSERT( r == T(-m_abs_Q1) ); -} - - -template -void -TestTraits::Sqrt() -{ - typedef typename tvmet::Traits::base_type value_type; - - value_type r1 = tvmet::Traits::sqrt(m_real); - value_type r2 = tvmet::Traits::sqrt(m_imag); - - CPPUNIT_ASSERT( r1 == 2 ); - CPPUNIT_ASSERT( r2 == 3 ); -} - - -template -void -TestTraits::Norm_1() -{ - typedef typename tvmet::Traits::base_type value_type; - - value_type r = tvmet::Traits::norm_1(m_real); - - CPPUNIT_ASSERT( r == tvmet::Traits::abs(m_real) ); -} - - -template -void -TestTraits::Norm_2() -{ - typedef typename tvmet::Traits::base_type value_type; - - value_type r = tvmet::Traits::norm_2(m_real); - - CPPUNIT_ASSERT( r == tvmet::Traits::abs(m_real) ); -} - - -template -void -TestTraits::Norm_Inf() -{ - typedef typename tvmet::Traits::base_type value_type; - - value_type r = tvmet::Traits::norm_inf(m_real); - - CPPUNIT_ASSERT( r == tvmet::Traits::abs(m_real) ); -} - - -template -void -TestTraits::Equals() -{ - typedef typename tvmet::Traits::base_type value_type; - - value_type lhs, rhs; - - lhs = rhs = 47; - - CPPUNIT_ASSERT( true == tvmet::Traits::equals(lhs,rhs) ); - - // a not very intelligent test - rhs += 1; - - CPPUNIT_ASSERT( false == tvmet::Traits::equals(lhs,rhs) ); -} - - -#endif // TVMET_TEST_NUMERIC_TRAITS_H - - -// Local Variables: -// mode:C++ -// End: diff --git a/tvmet-1.7.1/testsuite/TestNumericTraitsComplex.cc b/tvmet-1.7.1/testsuite/TestNumericTraitsComplex.cc deleted file mode 100644 index f40cb59b2..000000000 --- a/tvmet-1.7.1/testsuite/TestNumericTraitsComplex.cc +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Tiny Vector Matrix Library - * Dense Vector Matrix Libary of Tiny size using Expression Templates - * - * Copyright (C) 2001 - 2003 Olaf Petzold - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * $Id: TestTraitsComplex.cc,v 1.1 2004/09/15 07:51:44 opetzold Exp $ - */ - -#include -#include - -#include -#include - - -/**************************************************************************** - * instance - ****************************************************************************/ - -#if defined(EIGEN_USE_COMPLEX) -CPPUNIT_TEST_SUITE_REGISTRATION( TestTraitsComplex< std::complex > ); -CPPUNIT_TEST_SUITE_REGISTRATION( TestTraitsComplex< std::complex > ); -CPPUNIT_TEST_SUITE_REGISTRATION( TestTraitsComplex< std::complex > ); -CPPUNIT_TEST_SUITE_REGISTRATION( TestTraitsComplex< std::complex > ); -CPPUNIT_TEST_SUITE_REGISTRATION( TestTraitsComplex< std::complex > ); -CPPUNIT_TEST_SUITE_REGISTRATION( TestTraitsComplex< std::complex > ); -# if defined(TVMET_HAVE_LONG_DOUBLE) -CPPUNIT_TEST_SUITE_REGISTRATION( TestTraitsComplex< std::complex > ); -# endif -#endif diff --git a/tvmet-1.7.1/testsuite/TestNumericTraitsComplex.h b/tvmet-1.7.1/testsuite/TestNumericTraitsComplex.h deleted file mode 100644 index dee00b783..000000000 --- a/tvmet-1.7.1/testsuite/TestNumericTraitsComplex.h +++ /dev/null @@ -1,463 +0,0 @@ -/* - * Tiny Vector Matrix Library - * Dense Vector Matrix Libary of Tiny size using Expression Templates - * - * Copyright (C) 2001 - 2003 Olaf Petzold - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * $Id: TestTraitsComplex.h,v 1.2 2004/11/04 18:12:40 opetzold Exp $ - */ - -#ifndef TVMET_TEST_NUMERIC_TRAITS_H -#define TVMET_TEST_NUMERIC_TRAITS_H - -#include - -#include - -#include -#include - -#include - -template -class TestTraitsComplex : public CppUnit::TestFixture -{ - CPPUNIT_TEST_SUITE( TestTraitsComplex ); - CPPUNIT_TEST( Real ); - CPPUNIT_TEST( Imag ); - CPPUNIT_TEST( Conj ); - CPPUNIT_TEST( Abs ); - CPPUNIT_TEST( Sqrt ); - CPPUNIT_TEST( Norm_1 ); - CPPUNIT_TEST( Norm_2 ); - CPPUNIT_TEST( Norm_Inf ); - CPPUNIT_TEST( Equals ); - CPPUNIT_TEST_SUITE_END(); - -private: - typedef tvmet::Vector vector_type; - typedef tvmet::Matrix matrix_type; - -public: - TestTraitsComplex() - : m_p_real( 3), m_p_imag( 4), - m_n_real(-3), m_n_imag(-4), - m_z1(m_p_real, m_p_imag), - m_z2(m_n_real, m_p_imag), - m_z3(m_n_real, m_n_imag), - m_z4(m_p_real, m_n_imag) - { } - -public: // cppunit interface - /** cppunit hook for fixture set up. */ - void setUp(); - - /** cppunit hook for fixture tear down. */ - void tearDown(); - -protected: - void Real(); - void Imag(); - void Conj(); - void Abs(); - void Sqrt(); - void Norm_1(); - void Norm_2(); - void Norm_Inf(); - void Equals(); - -private: - // Helper - void AbsHelper(tvmet::dispatch, - typename tvmet::Traits::base_type); - void AbsHelper(tvmet::dispatch, - typename tvmet::Traits::base_type); - void SqrtHelper(tvmet::dispatch); - void SqrtHelper(tvmet::dispatch); - void NormHelper(tvmet::dispatch, - typename tvmet::Traits::base_type); - void NormHelper(tvmet::dispatch, - typename tvmet::Traits::base_type); - - -private: - typedef typename tvmet::Traits::base_type base_type; - typedef T value_type; - - const base_type m_p_real; - const base_type m_p_imag; - const base_type m_n_real; - const base_type m_n_imag; - - // complex quadrant I ... IV - const value_type m_z1; - const value_type m_z2; - const value_type m_z3; - const value_type m_z4; -}; - -/***************************************************************************** - * Implementation Part I (cppunit part) - ****************************************************************************/ - -template -void TestTraitsComplex::setUp () { } - -template -void TestTraitsComplex::tearDown() { } - -/***************************************************************************** - * Implementation Part II - ****************************************************************************/ - -template -void -TestTraitsComplex::Real() -{ - typedef typename tvmet::Traits::base_type base_type; - - base_type r1 = tvmet::Traits::real(m_z1); - base_type r2 = tvmet::Traits::real(m_z2); - base_type r3 = tvmet::Traits::real(m_z3); - base_type r4 = tvmet::Traits::real(m_z4); - - CPPUNIT_ASSERT( r1 == m_p_real ); - CPPUNIT_ASSERT( r2 == m_n_real ); - CPPUNIT_ASSERT( r3 == m_n_real ); - CPPUNIT_ASSERT( r4 == m_p_real ); -} - - -template -void -TestTraitsComplex::Imag() -{ - typedef typename tvmet::Traits::base_type base_type; - - base_type i1 = tvmet::Traits::imag(m_z1); - base_type i2 = tvmet::Traits::imag(m_z2); - base_type i3 = tvmet::Traits::imag(m_z3); - base_type i4 = tvmet::Traits::imag(m_z4); - - CPPUNIT_ASSERT( i1 == m_p_imag ); - CPPUNIT_ASSERT( i2 == m_p_imag ); - CPPUNIT_ASSERT( i3 == m_n_imag ); - CPPUNIT_ASSERT( i4 == m_n_imag ); -} - - -// conj only for signed types !! -template <> void TestTraitsComplex >::Conj() { } -template <> void TestTraitsComplex >::Conj() { } -template <> void TestTraitsComplex >::Conj() { } -template <> void TestTraitsComplex >::Conj() { } - - -template -void -TestTraitsComplex::Conj() -{ - typedef typename tvmet::Traits::value_type value_type; - typedef typename tvmet::Traits::base_type base_type; - - enum { - is_signed = std::numeric_limits::is_signed - }; - - // conjugate - value_type conj_z1 = tvmet::Traits::conj(m_z1); - value_type conj_z2 = tvmet::Traits::conj(m_z2); - value_type conj_z3 = tvmet::Traits::conj(m_z3); - value_type conj_z4 = tvmet::Traits::conj(m_z4); - - // real part - base_type r1 = tvmet::Traits::real(conj_z1); - base_type r2 = tvmet::Traits::real(conj_z2); - base_type r3 = tvmet::Traits::real(conj_z3); - base_type r4 = tvmet::Traits::real(conj_z4); - - // imag part - base_type i1 = tvmet::Traits::imag(conj_z1); - base_type i2 = tvmet::Traits::imag(conj_z2); - base_type i3 = tvmet::Traits::imag(conj_z3); - base_type i4 = tvmet::Traits::imag(conj_z4); - - // check on real part; real is tested before - CPPUNIT_ASSERT( r1 == tvmet::Traits::real(m_z1) ); - CPPUNIT_ASSERT( r2 == tvmet::Traits::real(m_z2) ); - CPPUNIT_ASSERT( r3 == tvmet::Traits::real(m_z3) ); - CPPUNIT_ASSERT( r4 == tvmet::Traits::real(m_z4) ); - - // check on imag part - CPPUNIT_ASSERT( i1 == -tvmet::Traits::imag(m_z1) ); - CPPUNIT_ASSERT( i2 == -tvmet::Traits::imag(m_z2) ); - CPPUNIT_ASSERT( i3 == -tvmet::Traits::imag(m_z3) ); - CPPUNIT_ASSERT( i4 == -tvmet::Traits::imag(m_z4) ); -} - - -template -void -TestTraitsComplex::Abs() -{ - typedef typename tvmet::Traits::base_type base_type; - - enum { - is_signed = std::numeric_limits::is_signed - }; - - base_type a1 = tvmet::Traits::abs(m_z1); - base_type a2 = tvmet::Traits::abs(m_z2); - base_type a3 = tvmet::Traits::abs(m_z3); - base_type a4 = tvmet::Traits::abs(m_z4); - - // result depends on signed type - AbsHelper(tvmet::dispatch(), a1); - AbsHelper(tvmet::dispatch(), a2); - AbsHelper(tvmet::dispatch(), a3); - AbsHelper(tvmet::dispatch(), a4); -} - - -template -void -TestTraitsComplex::AbsHelper(tvmet::dispatch, - typename tvmet::Traits::base_type r) -{ - // signed type - CPPUNIT_ASSERT( r == 5 ); -} - - -template -void -TestTraitsComplex::AbsHelper(tvmet::dispatch, - typename tvmet::Traits::base_type r) -{ - typedef typename tvmet::Traits::base_type base_type; - - base_type x = m_z1.real(); // sign doesn't matter on abs() - base_type y = m_z1.imag(); // sign doesn't matter on abs() - - // unsigned type - CPPUNIT_ASSERT( r == static_cast( - tvmet::Traits::sqrt(x * x + y * y)) - ); -} - - -template -void -TestTraitsComplex::Sqrt() -{ - typedef typename tvmet::Traits::base_type base_type; - - enum { - is_signed = std::numeric_limits::is_signed - }; - - // delegate tests - SqrtHelper(tvmet::dispatch()); -} - - -template -void -TestTraitsComplex::SqrtHelper(tvmet::dispatch) -{ - // signed type - typedef typename tvmet::Traits::value_type value_type; - - // sqrt - value_type z1 = tvmet::Traits::sqrt(m_z1); - value_type z2 = tvmet::Traits::sqrt(m_z2); - value_type z3 = tvmet::Traits::sqrt(m_z3); - value_type z4 = tvmet::Traits::sqrt(m_z4); - - CPPUNIT_ASSERT( z1 == value_type(2,1) ); - CPPUNIT_ASSERT( z2 == value_type(1,2) ); - CPPUNIT_ASSERT( z3 == value_type(1,-2) ); - CPPUNIT_ASSERT( z4 == value_type(2,-1) ); - -} - - -template -void -TestTraitsComplex::SqrtHelper(tvmet::dispatch) -{ - // unsigned type - - /* XXX - * very dirty - we assume we calculate right - * on "negative" complex types */ - - typedef typename tvmet::Traits::value_type value_type; - - // sqrt - value_type z1 = tvmet::Traits::sqrt(m_z1); - value_type z2 = tvmet::Traits::sqrt(m_z2); - - CPPUNIT_ASSERT( z1 == value_type(2,1) ); - CPPUNIT_ASSERT( z2 == value_type(1,2) ); -} - - -template -void -TestTraitsComplex::Norm_1() -{ - typedef typename tvmet::Traits::base_type base_type; - - enum { - is_signed = std::numeric_limits::is_signed - }; - - // norm_1 - base_type n1 = tvmet::Traits::norm_1(m_z1); - base_type n2 = tvmet::Traits::norm_1(m_z2); - base_type n3 = tvmet::Traits::norm_1(m_z3); - base_type n4 = tvmet::Traits::norm_1(m_z4); - - // result depends on signed type - NormHelper(tvmet::dispatch(), n1); - NormHelper(tvmet::dispatch(), n2); - NormHelper(tvmet::dispatch(), n3); - NormHelper(tvmet::dispatch(), n4); -} - - -template -void -TestTraitsComplex::Norm_2() -{ - typedef typename tvmet::Traits::base_type base_type; - - enum { - is_signed = std::numeric_limits::is_signed - }; - - // norm_2 - base_type n1 = tvmet::Traits::norm_2(m_z1); - base_type n2 = tvmet::Traits::norm_2(m_z2); - base_type n3 = tvmet::Traits::norm_2(m_z3); - base_type n4 = tvmet::Traits::norm_2(m_z4); - - // result depends on signed type - NormHelper(tvmet::dispatch(), n1); - NormHelper(tvmet::dispatch(), n2); - NormHelper(tvmet::dispatch(), n3); - NormHelper(tvmet::dispatch(), n4); -} - - -template -void -TestTraitsComplex::Norm_Inf() -{ - typedef typename tvmet::Traits::base_type base_type; - - enum { - is_signed = std::numeric_limits::is_signed - }; - - // norm_inf - base_type n1 = tvmet::Traits::norm_inf(m_z1); - base_type n2 = tvmet::Traits::norm_inf(m_z2); - base_type n3 = tvmet::Traits::norm_inf(m_z3); - base_type n4 = tvmet::Traits::norm_inf(m_z4); - - // result depends on signed type - NormHelper(tvmet::dispatch(), n1); - NormHelper(tvmet::dispatch(), n2); - NormHelper(tvmet::dispatch(), n3); - NormHelper(tvmet::dispatch(), n4); -} - -template -void -TestTraitsComplex::NormHelper(tvmet::dispatch, - typename tvmet::Traits::base_type) -{ - // XXX To be implement -} - - -template -void -TestTraitsComplex::NormHelper(tvmet::dispatch, - typename tvmet::Traits::base_type) -{ - // XXX To be implement -} - - -template -void -TestTraitsComplex::Equals() -{ - // XXX this test is to simple - - typedef typename tvmet::Traits::value_type value_type; - - value_type lhs, rhs; - - { - lhs = rhs = m_z1; - - CPPUNIT_ASSERT( true == tvmet::Traits::equals(lhs,rhs) ); - - rhs += m_z1; - - CPPUNIT_ASSERT( false == tvmet::Traits::equals(lhs,rhs) ); - } - { - lhs = rhs = m_z2; - - CPPUNIT_ASSERT( true == tvmet::Traits::equals(lhs,rhs) ); - - rhs += m_z2; - - CPPUNIT_ASSERT( false == tvmet::Traits::equals(lhs,rhs) ); - } - { - lhs = rhs = m_z3; - - CPPUNIT_ASSERT( true == tvmet::Traits::equals(lhs,rhs) ); - - rhs += m_z3; - - CPPUNIT_ASSERT( false == tvmet::Traits::equals(lhs,rhs) ); - } - { - lhs = rhs = m_z4; - - CPPUNIT_ASSERT( true == tvmet::Traits::equals(lhs,rhs) ); - - rhs += m_z4; - - CPPUNIT_ASSERT( false == tvmet::Traits::equals(lhs,rhs) ); - } -} - - -#endif // TVMET_TEST_NUMERIC_TRAITS_H - - -// Local Variables: -// mode:C++ -// End: