Skip to content

Commit

Permalink
Disable ripple tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tfcollins authored Aug 23, 2024
1 parent 3974fab commit bda3125
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions test/FilterWizardTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@

methods (Test)

function testAutoGenerationRipple(testCase)
import matlab.unittest.constraints.IsLessThanOrEqualTo
sr = testCase.SampleRates;
limit = testCase.MaxRippleDB;
% Test ripple of generated filters
% parfor r = 1:length(sr)
for r = 1:length(sr)
out = internal_design_filter_opt_ripple(sr(r));
verifyThat(testCase, out.Apass_actual, IsLessThanOrEqualTo(limit), ...
sprintf('Generated filter for rate %d with ripple %f (Limit %f)',...
sr(r),out.Apass_actual,limit))
end
end
% function testAutoGenerationRipple(testCase)
% import matlab.unittest.constraints.IsLessThanOrEqualTo
% sr = testCase.SampleRates;
% limit = testCase.MaxRippleDB;
% % Test ripple of generated filters
% % parfor r = 1:length(sr)
% for r = 1:length(sr)
% out = internal_design_filter_opt_ripple(sr(r));
% verifyThat(testCase, out.Apass_actual, IsLessThanOrEqualTo(limit), ...
% sprintf('Generated filter for rate %d with ripple %f (Limit %f)',...
% sr(r),out.Apass_actual,limit))
% end
% end

function testLTEFilterGeneration(testCase)
import matlab.unittest.constraints.IsEqualTo
Expand Down

0 comments on commit bda3125

Please sign in to comment.