aboutsummaryrefslogtreecommitdiff
path: root/src/tests/nids.cpp
diff options
context:
space:
mode:
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