本文整理汇总了C++中Directory::GetSubDirectory方法的典型用法代码示例。如果您正苦于以下问题:C++ Directory::GetSubDirectory方法的具体用法?C++ Directory::GetSubDirectory怎么用?C++ Directory::GetSubDirectory使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Directory
的用法示例。
在下文中一共展示了Directory::GetSubDirectory方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: AddTests2
void AddTests2 (Directory &parent)
{
Directory &dir = parent.GetSubDirectory("MultivariatePolynomial");
// the reason all the different combinations are enumerated by hand is
// so that this source file can be easily broken into several source
// files, reducing the compilation resources required and allowing
// parallel compilation.
// // add_particular_tests_for_scalar<Tenh::Sint8>(dir);
// // add_particular_tests_for_scalar<Tenh::Uint32>(dir);
// // add_particular_tests_for_scalar<Tenh::Sint64>(dir);
// TODO: re-add tests for integral types once integral types are working
add_particular_tests<complex<float>,1,1>(dir);
add_particular_tests<complex<float>,1,2>(dir);
add_particular_tests<complex<float>,1,3>(dir);
add_particular_tests<complex<float>,2,1>(dir);
add_particular_tests<complex<float>,2,2>(dir);
add_particular_tests<complex<float>,2,3>(dir);
add_particular_tests<complex<float>,3,1>(dir);
add_particular_tests<complex<float>,3,2>(dir);
add_particular_tests<complex<float>,3,3>(dir);
}
示例2: AddTests
void AddTests (Directory &parent)
{
Directory &dir = parent.GetSubDirectory("dimindex");
LVD_ADD_TEST_CASE_FUNCTION(dir, test_Reindex_e, RESULT_NO_ERROR);
LVD_ADD_TEST_CASE_FUNCTION(dir, test_induced_Typle_Reindex_e, RESULT_NO_ERROR);
LVD_ADD_TEST_CASE_FUNCTION(dir, test_reindexed, RESULT_NO_ERROR);
}
示例3: AddTests4
void AddTests4 (Directory &parent)
{
{
Directory &dir = parent.GetSubDirectory("Vector");
add_particular_tests_for_scalar_Vec<Sint32>(dir);
add_particular_tests_for_scalar_Vec<Uint32>(dir);
add_particular_tests_for_scalar_Vec<Sint64>(dir);
add_particular_tests_for_scalar_Vec<Uint64>(dir);
}
}
示例4: AddTests3
void AddTests3 (Directory &parent)
{
Directory &dir = parent.GetSubDirectory("linearembedding");
typedef float Scalar;
typedef Tenh::BasedVectorSpace_c<Tenh::VectorSpace_c<Tenh::RealField,1,Tenh::Generic>,Tenh::Basis_c<Tenh::Generic>> B1;
typedef Tenh::BasedVectorSpace_c<Tenh::VectorSpace_c<Tenh::RealField,2,Tenh::Generic>,Tenh::Basis_c<Tenh::Generic>> B2;
typedef Tenh::BasedVectorSpace_c<Tenh::VectorSpace_c<Tenh::RealField,3,Tenh::Generic>,Tenh::Basis_c<Tenh::Generic>> B3;
typedef Tenh::BasedVectorSpace_c<Tenh::VectorSpace_c<Tenh::RealField,4,Tenh::Generic>,Tenh::Basis_c<Tenh::Generic>> B4;
typedef Tenh::BasedVectorSpace_c<Tenh::VectorSpace_c<Tenh::RealField,5,Tenh::Generic>,Tenh::Basis_c<Tenh::Generic>> B5;
add_checks_for_two_spaces<B3,B1,double>(dir);
add_checks_for_two_spaces<B3,B2,double>(dir);
add_checks_for_two_spaces<B3,B4,double>(dir);
add_checks_for_two_spaces<B3,B5,double>(dir);
}
示例5: AddTests5
void AddTests5 (Directory &parent)
{
Directory &dir = parent.GetSubDirectory("MultivariatePolynomial");
// the reason all the different combinations are enumerated by hand is
// so that this source file can be easily broken into several source
// files, reducing the compilation resources required and allowing
// parallel compilation.
// // add_particular_tests_for_scalar<Tenh::Sint8>(dir);
// // add_particular_tests_for_scalar<Tenh::Uint32>(dir);
// // add_particular_tests_for_scalar<Tenh::Sint64>(dir);
// TODO: re-add tests for integral types once integral types are working
{
static Uint32 const DIM = 3;
typedef Tenh::VectorSpace_c<Tenh::RealField,DIM,Tenh::Generic> VectorSpace;
typedef Tenh::BasedVectorSpace_c<VectorSpace,Tenh::Basis_c<Tenh::Generic>> BasedVectorSpace;
add_addition_tests<double,BasedVectorSpace>(dir);
add_multiplication_tests<double,BasedVectorSpace>(dir);
}
}