Code covered by the BSD License  

Highlights from
MATLAB xUnit Test Framework

image thumbnail
from MATLAB xUnit Test Framework by Steve Eddins
MATLAB xUnit is a unit test framework for MATLAB code.

testIsTestCaseSubclass
function test_suite = testIsTestCaseSubclass
%testIsTestCaseSubclass Unit tests for isTestCaseSubclass

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

initTestSuite;

function testTestCase
assertTrue(xunit.utils.isTestCaseSubclass('TestCase'));

function testSubclass
assertTrue(xunit.utils.isTestCaseSubclass('TestCaseInDir'));

function testNotASubclass
assertFalse(xunit.utils.isTestCaseSubclass('atan2'));

Contact us