aboutsummaryrefslogtreecommitdiff
path: root/src/tests/nids.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2008-09-15 22:32:19 +0000
committerMike Buland <eichlan@xagasoft.com>2008-09-15 22:32:19 +0000
commit5230927c4f087cf2dcaac4fb9ed133c1ff3e2269 (patch)
treea1c360127bc9d44aa5cf60aed14582058890db88 /src/tests/nids.cpp
parent597a1487c716b799428f4b4a4903e65df4c93ba9 (diff)
downloadlibbu++-5230927c4f087cf2dcaac4fb9ed133c1ff3e2269.tar.gz
libbu++-5230927c4f087cf2dcaac4fb9ed133c1ff3e2269.tar.bz2
libbu++-5230927c4f087cf2dcaac4fb9ed133c1ff3e2269.tar.xz
libbu++-5230927c4f087cf2dcaac4fb9ed133c1ff3e2269.zip
Wooo! It compiles again! The nids streams are almost ready.
Diffstat (limited to 'src/tests/nids.cpp')
-rw-r--r--src/tests/nids.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/nids.cpp b/src/tests/nids.cpp
index 1197ac1..18f66a6 100644
--- a/src/tests/nids.cpp
+++ b/src/tests/nids.cpp
@@ -1,5 +1,6 @@
1#include "bu/file.h" 1#include "bu/file.h"
2#include "bu/nids.h" 2#include "bu/nids.h"
3#include "bu/nidsstream.h"
3 4
4int main( int argc, char *argv[] ) 5int main( int argc, char *argv[] )
5{ 6{
@@ -15,5 +16,10 @@ int main( int argc, char *argv[] )
15 n.initialize( 1024, 5 ); 16 n.initialize( 1024, 5 );
16 17
17 Bu::NidsStream s = n.openStream( n.createStream() ); 18 Bu::NidsStream s = n.openStream( n.createStream() );
19
20 Bu::FString sBuf("Hey there, man...uh...how's it going?");
21 s.write( sBuf );
22
23 return 0;
18} 24}
19 25