mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
Make this check current with the bytevector code.
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@306700 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
parent
33bc1a1533
commit
237ea76ef6
@ -155,12 +155,10 @@ void testByteVector()
|
||||
ByteVector intVector(2, 0);
|
||||
intVector[0] = char(0xfc);
|
||||
intVector[1] = char(0x00);
|
||||
printResult(intVector.toUInt() == 64512);
|
||||
printResult(intVector.toInt() == -1024);
|
||||
printResult(intVector.toShort() == -1024);
|
||||
intVector[0] = char(0x04);
|
||||
intVector[1] = char(0x00);
|
||||
printResult(intVector.toUInt() == 1024);
|
||||
printResult(intVector.toInt() == 1024);
|
||||
printResult(intVector.toShort() == 1024);
|
||||
|
||||
ByteVector r0("**************");
|
||||
ByteVector r1("OggS**********");
|
||||
|
Loading…
x
Reference in New Issue
Block a user