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

Deleting file created during matrix save/load test and small fixes in matrix unit tests.

parent 6462585c
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -827,12 +827,6 @@ TEST( SparseMatrixTest, CSR_perforSORIterationTest_Host )
TEST( SparseMatrixTest, CSR_perforSORIterationTest_Cuda )
{
   //    test_PerformSORIteration< CSR_cuda_float >();
    bool testRan = false;
    EXPECT_TRUE( testRan );
    std::cout << "\nTEST DID NOT RUN. NOT WORKING.\n\n";
    std::cout << "If launched, this test throws the following message: \n";
    std::cout << "      [1]    16958 segmentation fault (core dumped)  ./SparseMatrixTest-dbg\n\n";
    std::cout << "\n THIS IS NOT IMPLEMENTED FOR CUDA YET!!\n\n";
}
#endif

+13 −13
Original line number Diff line number Diff line
@@ -853,7 +853,7 @@ void test_SaveAndLoad()
    EXPECT_EQ( savedMatrix.getElement( 3, 2 ), 10 );
    EXPECT_EQ( savedMatrix.getElement( 3, 3 ), 11 );
    
    std::cout << "\nThis will create a file called 'sparseMatrixFile' (of the matrix created in the test function), in .../tnl-dev/Debug/bin/\n\n";
    std::remove( "sparseMatrixFile" );
}

template< typename Matrix >