diff options
author | Max Horn | 2010-01-07 15:12:20 +0000 |
---|---|---|
committer | Max Horn | 2010-01-07 15:12:20 +0000 |
commit | 32ec5746bebcfbaecece143f2ee75644a1000d17 (patch) | |
tree | cbd9512ceaebfc0b6c2ff959d66e12dfcc566315 /test/sound | |
parent | 423094cd5f624feb259a0c6cbfefd269553ef44d (diff) | |
download | scummvm-rg350-32ec5746bebcfbaecece143f2ee75644a1000d17.tar.gz scummvm-rg350-32ec5746bebcfbaecece143f2ee75644a1000d17.tar.bz2 scummvm-rg350-32ec5746bebcfbaecece143f2ee75644a1000d17.zip |
Add Timestamp::totalNumberOfFrames() method, clarify some comments
svn-id: r47120
Diffstat (limited to 'test/sound')
-rw-r--r-- | test/sound/timestamp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/sound/timestamp.h b/test/sound/timestamp.h index 0df459dc64..213c49ad7f 100644 --- a/test/sound/timestamp.h +++ b/test/sound/timestamp.h @@ -159,13 +159,16 @@ class TimestampTestSuite : public CxxTest::TestSuite TS_ASSERT_EQUALS(a.secs(), (uint32)0); TS_ASSERT_EQUALS(a.msecs(), (uint32)0); TS_ASSERT_EQUALS(a.numberOfFrames(), 0); + TS_ASSERT_EQUALS(a.totalNumberOfFrames(), 0); TS_ASSERT_EQUALS(b.secs(), (uint32)0); TS_ASSERT_EQUALS(b.msecs(), (uint32)500); TS_ASSERT_EQUALS(b.numberOfFrames(), 11025); + TS_ASSERT_EQUALS(b.totalNumberOfFrames(), 11025); TS_ASSERT_EQUALS(c.secs(), (uint32)1); TS_ASSERT_EQUALS(c.msecs(), (uint32)1500); TS_ASSERT_EQUALS(c.numberOfFrames(), 11025); + TS_ASSERT_EQUALS(c.totalNumberOfFrames(), 33075); } }; |