|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include "source_base/module_out/sparse_matrix.h"#include <complex>#include <iomanip>#include <sstream>#include "gmock/gmock.h"#include "gtest/gtest.h"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, BufferedCSRPreservesWrappingPrecisionAndFinalFlush) | |
| TYPED_TEST (SparseMatrixTest, EmptyCSRAndFlushFailure) | |
| TYPED_TEST (SparseMatrixTest, Insert) | |
| TYPED_TEST (SparseMatrixTest, InsertWarning) | |
| TYPED_TEST (SparseMatrixTest, CSR) | |
| using MyTypes = ::testing::Types<double, std::complex<double>> |
| T get_value | ( | const std::complex< T > & | val | ) |
| TYPED_TEST | ( | SparseMatrixTest | , |
| BufferedCSRPreservesWrappingPrecisionAndFinalFlush | ) |
| TYPED_TEST | ( | SparseMatrixTest | , |
| CSR | ) |
| TYPED_TEST | ( | SparseMatrixTest | , |
| EmptyCSRAndFlushFailure | ) |
| TYPED_TEST | ( | SparseMatrixTest | , |
| Insert | ) |
| TYPED_TEST | ( | SparseMatrixTest | , |
| InsertWarning | ) |
| TYPED_TEST_SUITE | ( | SparseMatrixTest | , |
| MyTypes | ) |