diff base/test/TestVampRealTime.h @ 1263:abfc498c52bc 3.0-integration

Test fixes
author Chris Cannam
date Tue, 15 Nov 2016 16:54:02 +0000
parents c4f873749ab5
children 980afe3f1a76
line wrap: on
line diff
--- a/base/test/TestVampRealTime.h	Tue Nov 15 16:12:48 2016 +0000
+++ b/base/test/TestVampRealTime.h	Tue Nov 15 16:54:02 2016 +0000
@@ -298,24 +298,17 @@
             for (int j = 0; j < m; ++j) {
                 int rate = rates[j];
 
-                cerr << "frame = " << frame << ", rate = " << rate << endl;
-                
                 RealTime rt = RealTime::frame2RealTime(frame, rate);
                 QCOMPARE(rt.sec, realTimes[j][i].sec);
                 QCOMPARE(rt.nsec, realTimes[j][i].nsec);
 
-                cerr << "rt = " << rt << endl;
-                cerr << "rate = " << rate << endl;
-
                 frame_type conv = RealTime::realTime2Frame(rt, rate);
-                cerr << "conv = " << conv << endl;
                 
                 rt = RealTime::frame2RealTime(-frame, rate);
                 frame_type negconv = RealTime::realTime2Frame(rt, rate);
-                cerr << "negconv = " << negconv << endl;
 
                 if (rate > ONE_BILLION) {
-                    // We no longer have enough precision in RealTime
+                    // We don't have enough precision in RealTime
                     // for this absurd sample rate, so a round trip
                     // conversion may round
                     QVERIFY(abs(frame - conv) < 2);