ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
test_read_atom_species.cpp File Reference
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <cstdio>
#include <fstream>
#include <iostream>
#include <memory>
#include <string>
#include <vector>
#include "source_cell/basecell.h"
#include "source_cell/read_stru.h"
#include "source_cell/unitcell.h"
Include dependency graph for test_read_atom_species.cpp:

Classes

class  ReadLatticeValidationTest
class  ReadSpeciesMalformedTest

Functions

 TEST_F (ReadLatticeValidationTest, HexagonalMissingParamsRejected)
 TEST_F (ReadLatticeValidationTest, TrigonalMissingParamsRejected)
 TEST_F (ReadLatticeValidationTest, CommentMentionDoesNotSatisfyParamsRequirement)
 TEST_F (ReadLatticeValidationTest, CommentMentionDoesNotShadowRealParams)
 TEST_F (ReadLatticeValidationTest, TrigonalMalformedParamRejected)
 TEST_F (ReadLatticeValidationTest, TrigonalImpossibleAngleRejected)
 TEST_F (ReadLatticeValidationTest, UnsupportedLatNameReportsItself)
 TEST_F (ReadLatticeValidationTest, ValidHexagonalWithParams)
 TEST_F (ReadLatticeValidationTest, SmPartiallyMalformedParamsRejected)
 TEST_F (ReadLatticeValidationTest, BacmPartiallyMalformedParamsRejected)
 TEST_F (ReadLatticeValidationTest, TriclinicPartiallyMalformedParamsRejected)
 TEST_F (ReadLatticeValidationTest, ValidSmWithParams)
 TEST_F (ReadLatticeValidationTest, SoRangeOverflowRejected)
 TEST_F (ReadLatticeValidationTest, StRangeOverflowRejected)
 TEST_F (ReadLatticeValidationTest, CubicScNeedsNoParams)
 TEST_F (ReadLatticeValidationTest, DegenerateLatticeVectorsRejected)
 TEST_F (ReadSpeciesMalformedTest, SpeciesMissingMassRejected)
 TEST_F (ReadSpeciesMalformedTest, PartialLatticeVectorsRejected)
 TEST_F (ReadSpeciesMalformedTest, ValidSpeciesAndVectors)
 TEST_F (ReadSpeciesMalformedTest, LatticeVectorsWithInlineCommentsAccepted)

Function Documentation

◆ TEST_F() [1/20]

TEST_F ( ReadLatticeValidationTest ,
BacmPartiallyMalformedParamsRejected  )
Here is the call graph for this function:

◆ TEST_F() [2/20]

TEST_F ( ReadLatticeValidationTest ,
CommentMentionDoesNotSatisfyParamsRequirement  )
Here is the call graph for this function:

◆ TEST_F() [3/20]

TEST_F ( ReadLatticeValidationTest ,
CommentMentionDoesNotShadowRealParams  )
Here is the call graph for this function:

◆ TEST_F() [4/20]

TEST_F ( ReadLatticeValidationTest ,
CubicScNeedsNoParams  )
Here is the call graph for this function:

◆ TEST_F() [5/20]

TEST_F ( ReadLatticeValidationTest ,
DegenerateLatticeVectorsRejected  )
Here is the call graph for this function:

◆ TEST_F() [6/20]

TEST_F ( ReadLatticeValidationTest ,
HexagonalMissingParamsRejected  )
Here is the call graph for this function:

◆ TEST_F() [7/20]

TEST_F ( ReadLatticeValidationTest ,
SmPartiallyMalformedParamsRejected  )
Here is the call graph for this function:

◆ TEST_F() [8/20]

TEST_F ( ReadLatticeValidationTest ,
SoRangeOverflowRejected  )
Here is the call graph for this function:

◆ TEST_F() [9/20]

TEST_F ( ReadLatticeValidationTest ,
StRangeOverflowRejected  )
Here is the call graph for this function:

◆ TEST_F() [10/20]

TEST_F ( ReadLatticeValidationTest ,
TriclinicPartiallyMalformedParamsRejected  )
Here is the call graph for this function:

◆ TEST_F() [11/20]

TEST_F ( ReadLatticeValidationTest ,
TrigonalImpossibleAngleRejected  )
Here is the call graph for this function:

◆ TEST_F() [12/20]

TEST_F ( ReadLatticeValidationTest ,
TrigonalMalformedParamRejected  )
Here is the call graph for this function:

◆ TEST_F() [13/20]

TEST_F ( ReadLatticeValidationTest ,
TrigonalMissingParamsRejected  )
Here is the call graph for this function:

◆ TEST_F() [14/20]

TEST_F ( ReadLatticeValidationTest ,
UnsupportedLatNameReportsItself  )
Here is the call graph for this function:

◆ TEST_F() [15/20]

TEST_F ( ReadLatticeValidationTest ,
ValidHexagonalWithParams  )
Here is the call graph for this function:

◆ TEST_F() [16/20]

TEST_F ( ReadLatticeValidationTest ,
ValidSmWithParams  )
Here is the call graph for this function:

◆ TEST_F() [17/20]

TEST_F ( ReadSpeciesMalformedTest ,
LatticeVectorsWithInlineCommentsAccepted  )
Here is the call graph for this function:

◆ TEST_F() [18/20]

TEST_F ( ReadSpeciesMalformedTest ,
PartialLatticeVectorsRejected  )
Here is the call graph for this function:

◆ TEST_F() [19/20]

TEST_F ( ReadSpeciesMalformedTest ,
SpeciesMissingMassRejected  )
Here is the call graph for this function:

◆ TEST_F() [20/20]

TEST_F ( ReadSpeciesMalformedTest ,
ValidSpeciesAndVectors  )
Here is the call graph for this function: