15#include "gtest/gtest.h"
25 class MA_1D_Test :
public ::testing::Test
41 class MA_2D_Test :
public ::testing::Test
48 mStrMeta = {
"another",
"test",
"string",
"vector",
"for",
"this",
"Test" };
67 auto crx = std::dynamic_pointer_cast<CRange>(mCR1);
73 for(
auto i =
crx->begin();
i !=
ei; ++
i){
83 auto crx = std::dynamic_pointer_cast<CRange>(mCR1);
84 auto beg =
crx->begin() + 2;
92 auto ii =
crx->begin();
93 for(
auto i = sl->begin() ;
i != sl->end(); ++
i, ++c, ++
ii){
111 auto cr1x = std::dynamic_pointer_cast<CRange>(mCR1);
112 auto ur1x = std::dynamic_pointer_cast<URange<String>>(mUR1);
123 auto uip1 = std::make_shared<UIndex<String>>(mUR1);
124 auto cip1 = std::make_shared<CIndex>(mCR1);
126 for(
auto ui = mUR1->begin();
ui != mUR1->end(); ++
ui){
127 for(
auto ci = mCR1->begin();
ci != mCR1->end(); ++
ci){
135 auto crx = std::dynamic_pointer_cast<CRange>(mCR1);
136 auto beg =
crx->begin() + 2;
139 auto uip1 = std::make_shared<UIndex<String>>(mUR1);
140 auto cip1 = std::make_shared<CIndex>(mCR1);
141 auto beg1 = (*cip1)+1;
142 auto last1 = (*cip1)+3;
143 auto beg2 = (*uip1)+2;
144 auto last2 = (*uip1)+5;
155 for(i1 = 0; i1.lex() != i1.lmax().val(); ++ i1){
156 for(i2 = 0; i2.lex() != i2.lmax().val(); ++i2){
167 ::testing::InitGoogleTest(&
argc,
argv);
int main(int argc, char **argv)
constexpr decltype(auto) mindex(const Sptr< Indices > &... is)
Sptr< RangeBase > RangePtr
std::vector< T, Allocator< T > > Vector
std::integral_constant< SizeT, N > CSizeT
Sptr< Range > rangeCast(const RangePtr r)