Code covered by the BSD License  

Highlights from
MATLAB xUnit Test Framework

image thumbnail

MATLAB xUnit Test Framework

by

 

31 Jan 2009 (Updated )

MATLAB xUnit is a unit test framework for MATLAB code.

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

testFunctionHandlesD
function test_suite = testFunctionHandlesD
%testFunctionHandlesD Test file used by TestFunctionHandlesTest
%   Contains two passing tests that use a test fixture with no test data.

%   Steven L. Eddins
%   Copyright 2008 The MathWorks, Inc.

initTestSuite;

function setUpFcn


function testA(varargin)
assertTrue(isempty(varargin));

function testB(varargin)
assertTrue(isempty(varargin));

function tearDownFcn(varargin)
assertTrue(isempty(varargin));

Contact us