CasosPrueba.hpp

Ir a la documentaciĆ³n de este archivo.
00001 
00011 #if !defined(CasosPrueba_hpp)
00012 #define CasosPrueba_hpp
00013 
00014 // Indices de prueba
00015 const string ps1 = "a{0000=00000}";
00016 const string ps2 = "a{0000?00000\x80\x80}";
00017 const string ps3 = "a{0000@00000\x80\x80\x80}";
00018 const string ps4 = "a{0000=0000>}\nm{0000K00000}\n";
00019 const string ps4_1="b{0000=0000>}\nm{0000K00000}\n";
00020 const string ps5 = "a{0000=00000}b{0000J00000}\n";
00021 const string ps6 = "a{0000=00000}b{0000J0000K}\nm{0000X00000}\n";
00022 const string ps7 = "a{0000=0000K}b{0000J00000}\nm{0000X00000}\n";
00023 //                            1         2         3         4         5
00024 //                  012345678901234567890123456789012345678901234567890123
00025 //                            :;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcde
00026 const string ps8 = "a{0000=00000}b{0000L00000\x80\xC0}\n";
00027 const string ps9 = "a{0000=00000}b{0000L00000\x80\x80}\n";
00028 const string ps10= "a{0000=00000}b{0000M00000\x80\x80\x80}\n";
00029 const string ps11= "am{0000>00000}\n";
00030 const string ps12= "a{0000=0000>}\nl{0000K00000}\n";
00031 const string ps13= "a{0000=0000>}\nl{0000K00000}m{0000X00000}\n";
00032 const string ps14= "a{0000=0000>}\nm{0000K0000L}\no{0000Y0000Z}\nr{0000g00000}\n";
00033 const string ps15=  MARCAIND + "\n" + 
00034                    "J{0000K0000L}\n"
00035                    "ESUS{0000^00000\x80\x80}O{0000k0000l}\n"
00036                    "RAM{0000}00000\xA0\x80}TAM{0000\21600000\x80\x80}\n";
00037 //13+1+ 13+1+ 18 = 46
00038 
00042 inline void llena_ss(std::stringstream &ss, NodoTrieS *n, string pref = "")
00043 {
00044         ss.clear();
00045         ss.str("");
00046         ss.seekp(-1);
00047         ss.seekg(0);
00048         ss.clear();
00049         ss << pref;
00050         escribePlanoStream(n, ss);
00051         ss.seekg(0);
00052 }
00053 
00054 
00055 #endif

Generado el Wed Jan 6 06:58:21 2010 para Mt77 por  doxygen 1.5.4