From cab3428019548adafcd44b29ca1f8bea99f899ac Mon Sep 17 00:00:00 2001 From: Lukas Cejka <lukas.ostatek@gmail.com> Date: Sun, 4 Nov 2018 16:22:29 +0100 Subject: [PATCH] Changed function title formatting from 'testFunctionName' to 'test_FunctionName'. --- src/UnitTests/Matrices/SparseMatrixTest.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/UnitTests/Matrices/SparseMatrixTest.h b/src/UnitTests/Matrices/SparseMatrixTest.h index 74a03fd3b4..3104b51782 100644 --- a/src/UnitTests/Matrices/SparseMatrixTest.h +++ b/src/UnitTests/Matrices/SparseMatrixTest.h @@ -26,7 +26,7 @@ using CSR_cuda_int = TNL::Matrices::CSR< int, TNL::Devices::Cuda, int >; template< typename MatrixHostFloat, typename MatrixHostInt > -void host_testGetType() +void host_test_GetType() { MatrixHostFloat mtrxHostFloat; MatrixHostInt mtrxHostInt; @@ -39,7 +39,7 @@ void host_testGetType() // CUDA into the function in the TEST, to be tested, then we could have a problem. template< typename MatrixCudaFloat, typename MatrixCudaInt > -void cuda_testGetType() +void cuda_test_GetType() { MatrixCudaFloat mtrxCudaFloat; MatrixCudaInt mtrxCudaInt; @@ -49,7 +49,7 @@ void cuda_testGetType() } template< typename Matrix > -void testSetDimensions() +void test_SetDimensions() { Matrix m; m.setDimensions( 9, 8 ); @@ -59,7 +59,7 @@ void testSetDimensions() } template< typename Matrix > -void testSetCompressedRowLengths() +void test_SetCompressedRowLengths() { Matrix m; const int rows = 10; @@ -90,37 +90,37 @@ void testSetCompressedRowLengths() TEST( SparseMatrixTest, CSR_GetTypeTest_Host ) { - host_testGetType< CSR_host_float, CSR_host_int >(); + host_test_GetType< CSR_host_float, CSR_host_int >(); } #ifdef HAVE_CUDA TEST( SparseMatrixTest, CSR_GetTypeTest_Cuda ) { - cuda_testGetType< CSR_cuda_float, CSR_cuda_int >(); + cuda_test_GetType< CSR_cuda_float, CSR_cuda_int >(); } #endif TEST( SparseMatrixTest, CSR_SetDimensionsTest_Host ) { - testSetDimensions< CSR_host_int >(); + test_SetDimensions< CSR_host_int >(); } #ifdef HAVE_CUDA TEST( SparseMatrixTest, CSR_SetDimensionsTest_Cuda ) { - testSetDimensions< CSR_cuda_int >(); + test_SetDimensions< CSR_cuda_int >(); } #endif TEST( SparseMatrixTest, CSR_setCompressedRowLengthsTest_Host ) { - testSetCompressedRowLengths< CSR_host_int >(); + test_SetCompressedRowLengths< CSR_host_int >(); } #ifdef HAVE_CUDA TEST( SparseMatrixTest, CSR_setCompressedRowLengthsTest_Cuda ) { - testSetCompressedRowLengths< CSR_cuda_int >(); + test_SetCompressedRowLengths< CSR_cuda_int >(); } #endif -- GitLab