Fixed the test. Now it's successful on both OBOS and R5
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1752 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -32,10 +32,10 @@ StringCharAccessTest::PerformTest(void)
|
|||||||
|
|
||||||
//ByteAt(int32)
|
//ByteAt(int32)
|
||||||
NextSubTest();
|
NextSubTest();
|
||||||
CPPUNIT_ASSERT(string[-10] == 0);
|
CPPUNIT_ASSERT(string.ByteAt(-10) == 0);
|
||||||
CPPUNIT_ASSERT(string[200] == 0);
|
CPPUNIT_ASSERT(string.ByteAt(200) == 0);
|
||||||
CPPUNIT_ASSERT(string[1] == ' ');
|
CPPUNIT_ASSERT(string.ByteAt(1) == ' ');
|
||||||
CPPUNIT_ASSERT(string[7] == 'e');
|
CPPUNIT_ASSERT(string.ByteAt(7) == 'e');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user