diff options
Diffstat (limited to '')
-rw-r--r-- | src/unit/string.unit | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/unit/string.unit b/src/unit/string.unit index d38aa54..8f65c70 100644 --- a/src/unit/string.unit +++ b/src/unit/string.unit | |||
@@ -407,6 +407,20 @@ suite String | |||
407 | unitTest( m1 == m2 ); | 407 | unitTest( m1 == m2 ); |
408 | unitTest( m1 == "\x03\xF0\x9C\xA4\xF5\x8A\xC8\xCA\x0E" ); | 408 | unitTest( m1 == "\x03\xF0\x9C\xA4\xF5\x8A\xC8\xCA\x0E" ); |
409 | } | 409 | } |
410 | |||
411 | test toUpper1 | ||
412 | { | ||
413 | Bu::String s1("HeLlO ThErE, HoW ArE YoU DoInG?"); | ||
414 | unitTest( s1.toUpper() == "HELLO THERE, HOW ARE YOU DOING?" ); | ||
415 | unitTest( s1 == "HeLlO ThErE, HoW ArE YoU DoInG?" ); | ||
416 | } | ||
417 | |||
418 | test toLower1 | ||
419 | { | ||
420 | Bu::String s1("HeLlO ThErE, HoW ArE YoU DoInG?"); | ||
421 | unitTest( s1.toLower() == "hello there, how are you doing?" ); | ||
422 | unitTest( s1 == "HeLlO ThErE, HoW ArE YoU DoInG?" ); | ||
423 | } | ||
410 | } | 424 | } |
411 | // 03F09CA4F58AC8CA0E80F0D9D409D0A60700A192270004BC3A99E91D0001034F544603362E35013103313130019CA4F58AC8CA0E0002830800002C4200008AC200EBF7D9D4090127BB010000E3 | 425 | // 03F09CA4F58AC8CA0E80F0D9D409D0A60700A192270004BC3A99E91D0001034F544603362E35013103313130019CA4F58AC8CA0E0002830800002C4200008AC200EBF7D9D4090127BB010000E3 |
412 | // | 426 | // |