CASM
AClustersApproachtoStatisticalMechanics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
test Namespace Reference

Classes

class  FCCTernaryProj
 
class  Proj
 
class  ZrOProj
 

Functions

bool check (std::string test, const jsonParser &expected, const jsonParser &calculated, fs::path test_cases_path, bool quiet, double tol=0.0)
 Check expected JSON vs calculated JSON using BOOST_CHECK_EQUAL. More...
 
BasicStructure< SiteFCC_ternary_prim ()
 
fs::path proj_dir (fs::path init)
 Create a new project directory, appending ".(#)" to ensure it is a new project. More...
 
void check_symgroup (const jsonParser &json, int N_op, int N_class)
 Check some aspects of a SymGroup json, including the expected number of conjugacy classes and operations. More...
 
BasicStructure< SiteZrO_prim ()
 

Function Documentation

bool test::check ( std::string  test,
const jsonParser expected,
const jsonParser calculated,
fs::path  test_cases_path,
bool  quiet,
double  tol = 0.0 
)

Check expected JSON vs calculated JSON using BOOST_CHECK_EQUAL.

void test::check_symgroup ( const jsonParser json,
int  N_op,
int  N_class 
)

Check some aspects of a SymGroup json, including the expected number of conjugacy classes and operations.

BasicStructure<Site> test::FCC_ternary_prim ( )
inline

Definition at line 18 of file FCCTernaryProj.hh.

fs::path test::proj_dir ( fs::path  init)

Create a new project directory, appending ".(#)" to ensure it is a new project.

BasicStructure<Site> test::ZrO_prim ( )
inline

Definition at line 13 of file ZrOProj.hh.