From 8aa006fa9daf122b5f42caaf4a9e4930a0cc4a45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= <klinkjak@fjfi.cvut.cz> Date: Thu, 11 Apr 2019 20:04:14 +0200 Subject: [PATCH] Removed binding from StaticArrayTest --- src/UnitTests/Containers/StaticArrayTest.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/UnitTests/Containers/StaticArrayTest.cpp b/src/UnitTests/Containers/StaticArrayTest.cpp index a418b9d06c..16817100f5 100644 --- a/src/UnitTests/Containers/StaticArrayTest.cpp +++ b/src/UnitTests/Containers/StaticArrayTest.cpp @@ -280,22 +280,6 @@ TYPED_TEST( StaticArrayTest, streamOperator ) std::stringstream testStream; testStream << u; } - -TYPED_TEST( StaticArrayTest, BindToArray ) -{ - using ArrayType = typename TestFixture::ArrayType; - using ValueType = typename TestFixture::ValueType; - constexpr int Size = ArrayType::size; - - ArrayType a; - for( int i = 0; i < Size; i++ ) - a[ i ] = i+1; - - Array< ValueType, Devices::Host > sharedArray; - sharedArray.bind( a ); - for( int i = 0; i < Size; i++ ) - EXPECT_EQ( a[ i ], sharedArray[ i ] ); -} #endif // HAVE_GTEST -- GitLab