diff options
author | David Robillard <d@drobilla.net> | 2009-10-28 15:33:06 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-10-28 15:33:06 +0000 |
commit | 5ec7afb7348b500684be0f6806256e3719210ec4 (patch) | |
tree | b49d635c12c8ecf84ee0bc181408831d4bdd3d8c /libs | |
parent | c71f419920fc10b16a0448c636761e7c696e58a6 (diff) |
Guaranteed to be the most robust test, ever (*).
(* Offer void everywhere)
git-svn-id: svn://localhost/ardour2/branches/3.0@5954 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/test/BBTTest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/test/BBTTest.cpp b/libs/ardour/test/BBTTest.cpp index ec32eaa81e..5f5f18b629 100644 --- a/libs/ardour/test/BBTTest.cpp +++ b/libs/ardour/test/BBTTest.cpp @@ -11,6 +11,10 @@ void BBTTest::addTest () { TempoMap map(48000); + + // Test basic operations with a flat tempo map + CPPUNIT_ASSERT(map.bbt_add(BBT_Time(0, 0, 0), BBT_Time(1, 2, 3)) == BBT_Time(1, 2, 3)); + CPPUNIT_ASSERT(map.bbt_add(BBT_Time(1, 2, 3), BBT_Time(0, 0, 0)) == BBT_Time(1, 2, 3)); } void |