From 5ec7afb7348b500684be0f6806256e3719210ec4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 28 Oct 2009 15:33:06 +0000 Subject: 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 --- libs/ardour/test/BBTTest.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libs/ardour') 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 -- cgit v1.2.3