summaryrefslogtreecommitdiff
path: root/src/tests/nids.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/nids.cpp')
-rw-r--r--src/tests/nids.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/tests/nids.cpp b/src/tests/nids.cpp
index 4856883..f50fde5 100644
--- a/src/tests/nids.cpp
+++ b/src/tests/nids.cpp
@@ -10,17 +10,16 @@ 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], Bu::File::ReadWrite );
14 Bu::Nids n( fOut ); 14 Bu::Nids n( fOut );
15 15
16// n.initialize( 120, 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( 350 ); 20// Bu::FString sBuf( 350 );
21 memset( sBuf.getStr(), 'a', 350 ); 21// memset( sBuf.getStr(), 'a', 350 );
22 s.write( sBuf ); 22// s.write( sBuf );
23 */
24 23
25 return 0; 24 return 0;
26} 25}