File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ BOOST_AUTO_TEST_CASE ( message_transform_toupper ) {
17
17
BOOST_CHECK_EQUAL ( source (msg), " me" );
18
18
msg << transform (to_upper_, source_);
19
19
BOOST_CHECK_EQUAL ( source (msg), " ME" );
20
+ msg << destination (" you" );
21
+ BOOST_CHECK_EQUAL ( destination (msg), " you" );
22
+ msg << transform (to_upper_, destination_);
23
+ BOOST_CHECK_EQUAL ( destination (msg), " YOU" );
20
24
};
21
25
22
26
BOOST_AUTO_TEST_CASE ( message_transform_tolower ) {
@@ -27,5 +31,9 @@ BOOST_AUTO_TEST_CASE ( message_transform_tolower ) {
27
31
BOOST_CHECK_EQUAL ( source (msg), " ME" );
28
32
msg << transform (to_lower_, source_);
29
33
BOOST_CHECK_EQUAL ( source (msg), " me" );
34
+ msg << destination (" YOU" );
35
+ BOOST_CHECK_EQUAL ( destination (msg), " YOU" );
36
+ msg << transform (to_lower_, destination_);
37
+ BOOST_CHECK_EQUAL ( destination (msg), " you" );
30
38
};
31
39
You can’t perform that action at this time.
0 commit comments