diff options
Diffstat (limited to 'src/tests')
| -rw-r--r-- | src/tests/fstring.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/fstring.cpp b/src/tests/fstring.cpp index 48dfc5f..11f147d 100644 --- a/src/tests/fstring.cpp +++ b/src/tests/fstring.cpp | |||
| @@ -110,6 +110,10 @@ void doTimings() | |||
| 110 | #define pem printf("---------\n%08X: %s\n%08X: %s\n", (unsigned int)str.c_str(), str.c_str(), (unsigned int)str2.c_str(), str2.c_str() ); | 110 | #define pem printf("---------\n%08X: %s\n%08X: %s\n", (unsigned int)str.c_str(), str.c_str(), (unsigned int)str2.c_str(), str2.c_str() ); |
| 111 | int main( int argc, char *argv ) | 111 | int main( int argc, char *argv ) |
| 112 | { | 112 | { |
| 113 | Bu::FString fs1; | ||
| 114 | for( int j = 0; j < 500000; j++ ) fs1 += (char)('a'+(j%26)); | ||
| 115 | return 0; | ||
| 116 | |||
| 113 | Bu::FString str("th"); | 117 | Bu::FString str("th"); |
| 114 | 118 | ||
| 115 | str.prepend("Hello "); | 119 | str.prepend("Hello "); |
