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

xunit.mocktests.test_this
% test_that.m is a subfunction test file.
%
% Copyright 2013 The MathWorks, Inc.

function test_suite = test_this
initTestSuite

function test_the_other
a = magic(3);

function test_nifty
b = magic(5);

Contact us