Skip to content

Commit

Permalink
Remove redundant test
Browse files Browse the repository at this point in the history
Signed-off-by: Julia Pineda <[email protected]>
  • Loading branch information
jpineda3 committed Jul 31, 2024
1 parent 89106ac commit cc49e46
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions test/ADRV9002Tests.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
classdef ADRV9002Tests < HardwareTests

properties
uri = 'ip:analog';
uri = 'ip:localhost';
author = 'ADI';
end

Expand Down Expand Up @@ -325,20 +325,20 @@ function testADRV9002ManualGainControlError(testCase)
verifyError(testCase, @() rx(), ?MException);
end

function testADRV9002ManualGainControl(testCase)
rx = adi.ADRV9002.Rx;
rx.uri = testCase.uri;

% Set low speed profile < 1 MHz
rx.EnableCustomProfile = true;
rx.CustomProfileFileName = which('lte_5_cmos_api_68_0_6.json');
rx.CustomStreamFileName = which('lte_5_cmos_api_68_0_6.stream');

rx.DigitalGainControlModeChannel0 = 'spi';
rx.InterfaceGainChannel0 = '6dB';
[~,valid] = rx();
testCase.assertTrue(valid);
end
% function testADRV9002ManualGainControl(testCase)
% rx = adi.ADRV9002.Rx;
% rx.uri = testCase.uri;
%
% % Set low speed profile < 1 MHz
% rx.EnableCustomProfile = true;
% rx.CustomProfileFileName = which('lte_5_cmos_api_68_0_6.json');
% rx.CustomStreamFileName = which('lte_5_cmos_api_68_0_6.stream');
%
% rx.DigitalGainControlModeChannel0 = 'spi';
% rx.InterfaceGainChannel0 = '6dB';
% [~,valid] = rx();
% testCase.assertTrue(valid);
% end

end

Expand Down

0 comments on commit cc49e46

Please sign in to comment.