diff options
Diffstat (limited to '')
-rw-r--r-- | src/tests/archive.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/tests/archive.cpp b/src/tests/archive.cpp index fb0d97c..5b7e285 100644 --- a/src/tests/archive.cpp +++ b/src/tests/archive.cpp | |||
@@ -1,7 +1,16 @@ | |||
1 | #include "archive.h" | 1 | #include "archive.h" |
2 | #include "sfile.h" | ||
3 | |||
4 | using namespace Bu; | ||
2 | 5 | ||
3 | int main() | 6 | int main() |
4 | { | 7 | { |
5 | //Archive | 8 | SFile f("test.dat", "wb"); |
9 | Archive ar( f, Archive::save ); | ||
10 | |||
11 | std::string s("Hello there"); | ||
12 | ar << s; | ||
13 | |||
14 | return 0; | ||
6 | } | 15 | } |
7 | 16 | ||