Skip to content
Snippets Groups Projects
Commit 8449d076 authored by Lukas Cejka's avatar Lukas Cejka
Browse files

Corrected googltest expect for string.

parent 653e7231
No related branches found
No related tags found
1 merge request!16Matrices
...@@ -25,7 +25,7 @@ void testGetType() ...@@ -25,7 +25,7 @@ void testGetType()
// using CSR_host_getType = TNL::Matrices::CSR< float, TNL::Devices::Host, int> // using CSR_host_getType = TNL::Matrices::CSR< float, TNL::Devices::Host, int>
Matrix<float, TNL::Devices::Host, int> floatHostMatrix; Matrix<float, TNL::Devices::Host, int> floatHostMatrix;
// using CSR_cuda_getType = TNL::Matrices::CSR< float, TNL::Devices::Cuda, int> // using CSR_cuda_getType = TNL::Matrices::CSR< float, TNL::Devices::Cuda, int>
EXPECT_EQ( floatCudaMatrix.getType(), "Matrices::CSR< float, Cuda >"); EXPECT_STREQ( floatCudaMatrix.getType(), "Matrices::CSR< float, Cuda >");
} }
TEST( SparseMatrixTest, GetTypeTest ) TEST( SparseMatrixTest, GetTypeTest )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment