aboutsummaryrefslogtreecommitdiff
path: root/src/unit/blobbuilder.unit
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2023-07-11 09:22:59 -0700
committerMike Buland <eichlan@xagasoft.com>2023-07-11 09:22:59 -0700
commit3424954adfec2b2aa862d8c7ddf8f6adc433b896 (patch)
tree33f324073af535339776c3cf11c1312f9645697a /src/unit/blobbuilder.unit
parentfd7583acc0adcce2fa63d21755091ddb3077aa14 (diff)
downloadlibbu++-3424954adfec2b2aa862d8c7ddf8f6adc433b896.tar.gz
libbu++-3424954adfec2b2aa862d8c7ddf8f6adc433b896.tar.bz2
libbu++-3424954adfec2b2aa862d8c7ddf8f6adc433b896.tar.xz
libbu++-3424954adfec2b2aa862d8c7ddf8f6adc433b896.zip
Tweaked/improved tests.
Diffstat (limited to '')
-rw-r--r--src/unit/blobbuilder.unit7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/unit/blobbuilder.unit b/src/unit/blobbuilder.unit
index 7f3fb93..16da92c 100644
--- a/src/unit/blobbuilder.unit
+++ b/src/unit/blobbuilder.unit
@@ -17,15 +17,13 @@ suite BlobBuilder
17{ 17{
18 test append 18 test append
19 { 19 {
20 /* 20
21 Bu::BlobBuilder a; 21 Bu::BlobBuilder a;
22 a.append("a"); 22 a.append("a");
23 a.append("bc"); 23 a.append("bc");
24 a += "def"; 24 a += "def";
25 Bu::println(">%1<\n\n").arg( a.getBlob() );
26 a.append("abcdef"); 25 a.append("abcdef");
27 Bu::println(">%1<\n\n").arg( a.getBlob() ); 26
28 */
29 } 27 }
30 28
31 test appendChar 29 test appendChar
@@ -35,7 +33,6 @@ suite BlobBuilder
35 { 33 {
36 a += 'A'; 34 a += 'A';
37 } 35 }
38 Bu::println("%1").arg( a.getBlob() );
39 unitTest( a.getBlob() == "AAAAAAAAAAAAAAAAAAAA" ); 36 unitTest( a.getBlob() == "AAAAAAAAAAAAAAAAAAAA" );
40 } 37 }
41} 38}