comparison TestDefaults.cpp @ 7:43eb3a4b95c8

* dump more output
author cannam
date Tue, 17 Mar 2009 18:02:29 +0000
parents ba3c8cc649d3
children 3019cb6b538d
comparison
equal deleted inserted replaced
6:ba3c8cc649d3 7:43eb3a4b95c8
89 appendFeatures(f[run], fs); 89 appendFeatures(f[run], fs);
90 } 90 }
91 if (data) destroyTestAudio(data, channels); 91 if (data) destroyTestAudio(data, channels);
92 92
93 if (!(f[0] == f[1])) { 93 if (!(f[0] == f[1])) {
94 r.push_back(warning("Explicitly setting current program to its supposed current value changes the results")); 94 Result res = warning("Explicitly setting current program to its supposed current value changes the results");
95 dump(res, f[0], f[1]);
96 r.push_back(res);
95 } else { 97 } else {
96 r.push_back(success()); 98 r.push_back(success());
97 } 99 }
98 100
99 return r; 101 return r;
135 appendFeatures(f[run], fs); 137 appendFeatures(f[run], fs);
136 } 138 }
137 if (data) destroyTestAudio(data, channels); 139 if (data) destroyTestAudio(data, channels);
138 140
139 if (!(f[0] == f[1])) { 141 if (!(f[0] == f[1])) {
140 r.push_back(warning("Explicitly setting parameters to their supposed default values changes the results")); 142 Result res = warning("Explicitly setting parameters to their supposed default values changes the results");
143 dump(res, f[0], f[1]);
144 r.push_back(res);
141 } else { 145 } else {
142 r.push_back(success()); 146 r.push_back(success());
143 } 147 }
144 148
145 return r; 149 return r;