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.

xunit.mocktests.FooTest
classdef FooTest < TestCase
    methods
        function object = FooTest(name)
            object = object@TestCase(name);
        end
        function test_sanity(object)
            assertEqual(0, 0)
        end
    end
end

Contact us at files@mathworks.com