Mercurial > hg > ltpda
view m-toolbox/classes/tests/ao/@test_ao_ao/test_ao_ao.m @ 45:a59cdb8aaf31 database-connection-manager
Merge
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Tue, 06 Dec 2011 19:07:22 +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