@@ -31,30 +31,30 @@ using namespace TAP;
3131int
3232main ()
3333{
34- TEST_START (3 );
35- {/* 1..1*/
36- char data[] =" папа\0 мама\0 бабушка\0 дедушка\0 братик\0 сестричка" ;
37- std::shared_ptr<Blob> blob = std::make_shared<Blob>(data, (sizeof data)-1 );
38- StampTextPulp stamp;
39- std::string s = stamp.ExtractStr (blob);
40- is (s," папа мама бабушка дедушка братик сестричка" ," StampTextSimple" );
41-
42- }
43- {/* 2..2*/
44- char data[] =" dad\0 mam\0 granddad\0 grandmam\0 brother\0 sister" ;
45- std::shared_ptr<Blob> blob = std::make_shared<Blob>(data, (sizeof data)-1 );
46- StampTextPulpWords stamp;
47- std::string s = stamp.ExtractStr (blob);
48- is (s," d dad gra n dmam broth er siste" ," GalleyTextSimple" );
49-
50- }
51- {/* 3..3*/
52- char data[] =" abcdef" " abcdef" " ABCDEF" " 012345" ;
53- std::shared_ptr<Blob> blob = std::make_shared<Blob>(data, (sizeof data)-1 );
54- StampTextDictWords stamp;
55- std::string s = stamp.ExtractStr (blob);
56- is (s," gleam godfather graffiti greened grouping gunshots gleam godfather graffiti greened grouping gunshots dismally dissented divested doorstep dread drunks convertors corpulent counterparts cranking crippled crusades" ," GalleyLCAlphaSmall" );
57-
58- }
59- TEST_END;
34+ TEST_START (3 );
35+ {/* 1..1*/
36+ char data[] =" папа\0 мама\0 бабушка\0 дедушка\0 братик\0 сестричка" ;
37+ std::shared_ptr<Blob> blob = std::make_shared<Blob>(data, (sizeof data)-1 );
38+ StampTextPulp stamp;
39+ std::string s = stamp.ExtractStr (blob);
40+ is (s," папа мама бабушка дедушка братик сестричка" ," StampTextSimple" );
41+ }
42+
43+ {/* 2..2*/
44+ char data[] =" dad\0 mam\0 granddad\0 grandmam\0 brother\0 sister" ;
45+ std::shared_ptr<Blob> blob = std::make_shared<Blob>(data, (sizeof data)-1 );
46+ StampTextPulpWords stamp;
47+ std::string s = stamp.ExtractStr (blob);
48+ is (s," d dad gra n dmam broth er siste" ," GalleyTextSimple" );
49+ }
50+
51+ {/* 3..3*/
52+ char data[] =" abcdef" " abcdef" " ABCDEF" " 012345" ;
53+ std::shared_ptr<Blob> blob = std::make_shared<Blob>(data, (sizeof data)-1 );
54+ StampTextDictWords stamp;
55+ std::string s = stamp.ExtractStr (blob);
56+ is (s," gleam godfather graffiti greened grouping gunshots gleam godfather graffiti greened grouping gunshots dismally dissented divested doorstep dread drunks convertors corpulent counterparts cranking crippled crusades" ," GalleyLCAlphaSmall" );
57+
58+ }
59+ TEST_END;
6060}