diff options
Diffstat (limited to '')
-rw-r--r-- | src/tests/nids.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/tests/nids.cpp b/src/tests/nids.cpp index 18f66a6..4856883 100644 --- a/src/tests/nids.cpp +++ b/src/tests/nids.cpp | |||
@@ -10,15 +10,17 @@ int main( int argc, char *argv[] ) | |||
10 | return 1; | 10 | return 1; |
11 | } | 11 | } |
12 | 12 | ||
13 | Bu::File fOut( argv[1], "wb"); | 13 | Bu::File fOut( argv[1], "wb+"); |
14 | Bu::Nids n( fOut ); | 14 | Bu::Nids n( fOut ); |
15 | 15 | ||
16 | n.initialize( 1024, 5 ); | 16 | // n.initialize( 120, 5 ); |
17 | 17 | ||
18 | Bu::NidsStream s = n.openStream( n.createStream() ); | 18 | Bu::NidsStream s = n.openStream( n.createStream() ); |
19 | 19 | /* | |
20 | Bu::FString sBuf("Hey there, man...uh...how's it going?"); | 20 | Bu::FString sBuf( 350 ); |
21 | memset( sBuf.getStr(), 'a', 350 ); | ||
21 | s.write( sBuf ); | 22 | s.write( sBuf ); |
23 | */ | ||
22 | 24 | ||
23 | return 0; | 25 | return 0; |
24 | } | 26 | } |