Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf5096cc

Browse files
Fix indention
1 parentaff62a3 commitf5096cc

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

‎t/150-stamp_text.cpp

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -31,30 +31,30 @@ using namespace TAP;
3131
int
3232
main()
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\0mam\0granddad\0grandmam\0brother\0sister";
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\0mam\0granddad\0grandmam\0brother\0sister";
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
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp