view m-toolbox/classes/tests/ao/@test_ao_ao/test_ao_ao.m @ 26:ce4df2e95a55 database-connection-manager

Remove LTPDARepositoryManager initialization
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +0100
parents f0afece42f48
children
line wrap: on
line source

% TEST_AO_AO run tests on the AO constructor and associated methods.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% DESCRIPTION:   TEST_AO_AO run tests on the AO constructor and associated methods.
%
%
% VERSION:     $Id: test_ao_ao.m,v 1.1 2010/12/20 12:51:58 hewitson Exp $
%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

classdef test_ao_ao < ltpda_uoh_tests

  
  methods
    function utp = test_ao_ao(varargin)
      
      utp.testData = test_ao_ao.generateMixedTestData();
      
      utp.methodName = 'ao';
      utp.className  = 'ao';
      
    end
    
  end
  

  methods (Static, Access=private)
    
    function out = generateMixedTestData()      
      out = [];
      
      % Single number cdata ao
      out = [out ao(1)];
      
      % Time-series ao
      out = [out ao(plist('tsfcn', 't', 'fs', 2.3, 'nsecs', 10))];
      
      % Frequency-series AO
      out = [out ao(plist('fsfcn', 'randn(size(f)).^2', 'f', 1:10))];
        
      % XY AO
      out = [out ao(1:10,1:10)];
    end % End generateTestData()
    
  end % End private methods
  
  
end

% END