diff options
Diffstat (limited to 'src/unit/fstring.unit')
-rw-r--r-- | src/unit/fstring.unit | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/unit/fstring.unit b/src/unit/fstring.unit index a0d62da..fbebd39 100644 --- a/src/unit/fstring.unit +++ b/src/unit/fstring.unit | |||
@@ -129,6 +129,15 @@ | |||
129 | unitTest( c == "Hello/Dude" ); | 129 | unitTest( c == "Hello/Dude" ); |
130 | } | 130 | } |
131 | 131 | ||
132 | {%add7} | ||
133 | { | ||
134 | const Bu::FString a("hello "); | ||
135 | Bu::FString b(" how "); | ||
136 | unitTest( a == "hello " ); | ||
137 | unitTest( a + "dude" == "hello dude" ); | ||
138 | unitTest( a + "dude" + b + "are you?" == "hello dude how are you?" ); | ||
139 | } | ||
140 | |||
132 | {%subStr1} | 141 | {%subStr1} |
133 | { | 142 | { |
134 | Bu::FString a("abcdefghijklmnop"); | 143 | Bu::FString a("abcdefghijklmnop"); |