Commit 5ac207f7 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Fixed unified initiation via main.h of the Vector unit tests.

parent ec21102e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -375,8 +375,8 @@ TYPED_TEST( ArrayViewTest, containsOnlyValue )

TYPED_TEST( ArrayViewTest, comparisonOperator )
{
   using ArrayType = Vector< double >; //typename TestFixture::ArrayType;
   using ViewType = VectorView< double >; //typename TestFixture::ViewType;
   using ArrayType = typename TestFixture::ArrayType;
   using ViewType = typename TestFixture::ViewType;

   ArrayType a( 10 ), b( 10 );
   typename ArrayType::HostType a_host( 10 );
+1 −13
Original line number Diff line number Diff line
@@ -179,16 +179,4 @@ TYPED_TEST( VectorTest, comparison )

#endif // HAVE_GTEST


#include "../GtestMissingError.h"
int main( int argc, char* argv[] )
{
   //Test();
   //return 0;
#ifdef HAVE_GTEST
   ::testing::InitGoogleTest( &argc, argv );
   return RUN_ALL_TESTS();
#else
   throw GtestMissingError();
#endif
}
#include "../main.h"
 No newline at end of file
+1 −13
Original line number Diff line number Diff line
@@ -150,16 +150,4 @@ TYPED_TEST( VectorTest, differenceAbsMax )

#endif // HAVE_GTEST


#include "../GtestMissingError.h"
int main( int argc, char* argv[] )
{
   //Test();
   //return 0;
#ifdef HAVE_GTEST
   ::testing::InitGoogleTest( &argc, argv );
   return RUN_ALL_TESTS();
#else
   throw GtestMissingError();
#endif
}
#include "../main.h"
 No newline at end of file
+1 −13
Original line number Diff line number Diff line
@@ -168,16 +168,4 @@ TYPED_TEST( VectorTest, scalarProduct )

#endif // HAVE_GTEST


#include "../GtestMissingError.h"
int main( int argc, char* argv[] )
{
   //Test();
   //return 0;
#ifdef HAVE_GTEST
   ::testing::InitGoogleTest( &argc, argv );
   return RUN_ALL_TESTS();
#else
   throw GtestMissingError();
#endif
}
#include "../main.h"
+1 −11
Original line number Diff line number Diff line
@@ -394,14 +394,4 @@ TYPED_TEST( VectorTest, abs )

#endif // HAVE_GTEST


#include "../GtestMissingError.h"
int main( int argc, char* argv[] )
{
#ifdef HAVE_GTEST
   ::testing::InitGoogleTest( &argc, argv );
   return RUN_ALL_TESTS();
#else
   throw GtestMissingError();
#endif
}
#include "../main.h"
 No newline at end of file
Loading