ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
sparse_matrix_test.cpp File Reference
#include "source_io/sparse_matrix.h"
#include <complex>
#include "gmock/gmock.h"
#include "gtest/gtest.h"
Include dependency graph for sparse_matrix_test.cpp:

Classes

class  SparseMatrixTest< T >
 

Typedefs

using MyTypes = ::testing::Types< double, std::complex< double > >
 

Functions

template<typename T >
T get_value (const T &val)
 
template<typename T >
T get_value (const std::complex< T > &val)
 
 TYPED_TEST_SUITE (SparseMatrixTest, MyTypes)
 
 TYPED_TEST (SparseMatrixTest, Insert)
 
 TYPED_TEST (SparseMatrixTest, InsertWarning)
 
 TYPED_TEST (SparseMatrixTest, CSR)
 

Typedef Documentation

◆ MyTypes

using MyTypes = ::testing::Types<double, std::complex<double> >

Function Documentation

◆ get_value() [1/2]

template<typename T >
T get_value ( const std::complex< T > &  val)

◆ get_value() [2/2]

template<typename T >
T get_value ( const T val)
Here is the caller graph for this function:

◆ TYPED_TEST() [1/3]

TYPED_TEST ( SparseMatrixTest  ,
CSR   
)
Here is the call graph for this function:

◆ TYPED_TEST() [2/3]

TYPED_TEST ( SparseMatrixTest  ,
Insert   
)
Here is the call graph for this function:

◆ TYPED_TEST() [3/3]

TYPED_TEST ( SparseMatrixTest  ,
InsertWarning   
)

◆ TYPED_TEST_SUITE()

TYPED_TEST_SUITE ( SparseMatrixTest  ,
MyTypes   
)