aboutsummaryrefslogtreecommitdiff
path: root/test/common/subreadstream.h
diff options
context:
space:
mode:
authorMax Horn2009-05-19 11:22:49 +0000
committerMax Horn2009-05-19 11:22:49 +0000
commit2b32ba7cb375dd80a119f56f661811971c671ca3 (patch)
tree869e79cdda9239b3939eb767d3d53e0f1361cc13 /test/common/subreadstream.h
parentc24559877d82d3a936177c9b502a35627ded0c15 (diff)
downloadscummvm-rg350-2b32ba7cb375dd80a119f56f661811971c671ca3.tar.gz
scummvm-rg350-2b32ba7cb375dd80a119f56f661811971c671ca3.tar.bz2
scummvm-rg350-2b32ba7cb375dd80a119f56f661811971c671ca3.zip
Converted unit tests to use TS_ASSERT_EQUALS / TS_ASSERT_DIFFERS where possible; also made them comply a bit more to our code formatting guideline
svn-id: r40722
Diffstat (limited to 'test/common/subreadstream.h')
-rw-r--r--test/common/subreadstream.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/common/subreadstream.h b/test/common/subreadstream.h
index f68a9860a5..15d959892f 100644
--- a/test/common/subreadstream.h
+++ b/test/common/subreadstream.h
@@ -15,14 +15,14 @@ class SubReadStreamTestSuite : public CxxTest::TestSuite {
int i;
byte b;
for (i = 0; i < end; ++i) {
- TS_ASSERT( !srs.eos() );
+ TS_ASSERT(!srs.eos());
b = srs.readByte();
- TS_ASSERT_EQUALS( i, b );
+ TS_ASSERT_EQUALS(i, b);
}
- TS_ASSERT( !srs.eos() );
+ TS_ASSERT(!srs.eos());
b = srs.readByte();
- TS_ASSERT( srs.eos() );
+ TS_ASSERT(srs.eos());
}
};