aboutsummaryrefslogtreecommitdiff
path: root/src/tests/heap.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-03-19 18:28:10 +0000
committerMike Buland <eichlan@xagasoft.com>2011-03-19 18:28:10 +0000
commitd223fcaba3660e8c4d61c9136311064898e23ae9 (patch)
tree58ac992b15667d814ddfd502640a54a1209e241e /src/tests/heap.cpp
parentcba6293cf22e2c2ae17dd3954ad7d097f379c7ac (diff)
downloadlibbu++-d223fcaba3660e8c4d61c9136311064898e23ae9.tar.gz
libbu++-d223fcaba3660e8c4d61c9136311064898e23ae9.tar.bz2
libbu++-d223fcaba3660e8c4d61c9136311064898e23ae9.tar.xz
libbu++-d223fcaba3660e8c4d61c9136311064898e23ae9.zip
The rest of libbu++ is corrected as far as the now Bu::String toUpper/toLower
semantics go as well as switching everything to the new string formatting code.
Diffstat (limited to 'src/tests/heap.cpp')
-rw-r--r--src/tests/heap.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tests/heap.cpp b/src/tests/heap.cpp
index 14da55a..520a57f 100644
--- a/src/tests/heap.cpp
+++ b/src/tests/heap.cpp
@@ -41,8 +41,7 @@ typedef struct num
41void printHeap( Bu::Heap<Bu::String> &h, int j ) 41void printHeap( Bu::Heap<Bu::String> &h, int j )
42{ 42{
43// return; 43// return;
44 Bu::String sFName; 44 Bu::String sFName = Bu::String("graph-step-%1.dot").arg( j, Bu::Fmt().width(2).fill('0') );
45 sFName.format("graph-step-%02d.dot", j );
46 Bu::File fOut( sFName, Bu::File::WriteNew ); 45 Bu::File fOut( sFName, Bu::File::WriteNew );
47 Bu::Formatter f( fOut ); 46 Bu::Formatter f( fOut );
48 f << "Graph step: " << j << ", total size: " << h.getSize() << f.nl; 47 f << "Graph step: " << j << ", total size: " << h.getSize() << f.nl;