projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c71f419
)
Guaranteed to be the most robust test, ever (*).
author
David Robillard
<d@drobilla.net>
Wed, 28 Oct 2009 15:33:06 +0000
(15:33 +0000)
committer
David Robillard
<d@drobilla.net>
Wed, 28 Oct 2009 15:33:06 +0000
(15:33 +0000)
(* Offer void everywhere)
git-svn-id: svn://localhost/ardour2/branches/3.0@5954
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/test/BBTTest.cpp
patch
|
blob
|
history
diff --git
a/libs/ardour/test/BBTTest.cpp
b/libs/ardour/test/BBTTest.cpp
index ec32eaa81ece79113949c2e75f8bfd32148c89f3..5f5f18b629ed7d8df35bd7cd3877500405f697ba 100644
(file)
--- 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