13
0

Comment tweaks.

git-svn-id: svn://localhost/ardour2/branches/3.0@12636 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-06-09 21:06:59 +00:00
parent d00e4589d0
commit 886a8c0f77

View File

@ -86,12 +86,20 @@ PlaylistReadTest::overlappingReadTest ()
CPPUNIT_ASSERT_EQUAL (double (64), ar0->_fade_in->back()->when);
CPPUNIT_ASSERT_EQUAL (double (64), ar0->_fade_out->back()->when);
ar0->set_length (1024);
/* Note: these are ordinary fades, not xfades */
CPPUNIT_ASSERT_EQUAL (false, ar0->fade_in_is_xfade());
CPPUNIT_ASSERT_EQUAL (false, ar0->fade_out_is_xfade());
boost::shared_ptr<AudioRegion> ar1 = boost::dynamic_pointer_cast<AudioRegion> (_region[1]);
ar1->set_name ("ar1");
_apl->add_region (ar1, 128);
ar1->set_default_fade_in ();
ar1->set_default_fade_out ();
/* Note: these are ordinary fades, not xfades */
CPPUNIT_ASSERT_EQUAL (false, ar1->fade_in_is_xfade());
CPPUNIT_ASSERT_EQUAL (false, ar1->fade_out_is_xfade());
CPPUNIT_ASSERT_EQUAL (double (64), ar1->_fade_in->back()->when);
CPPUNIT_ASSERT_EQUAL (double (64), ar1->_fade_out->back()->when);