aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/tests/fstrformat.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/tests/fstrformat.cpp b/src/tests/fstrformat.cpp
new file mode 100644
index 0000000..dbf6133
--- /dev/null
+++ b/src/tests/fstrformat.cpp
@@ -0,0 +1,12 @@
1#include "bu/fstring.h"
2#include <stdio.h>
3
4int main()
5{
6 Bu::FString s;
7
8 s.format("%d, %f, \'%s\'", 144, 12.5, "bob" );
9
10 printf("test: %s\n", s.getStr() );
11}
12