Code covered by the BSD License
Steve Eddins (view profile)
31 Jan 2009
12 Jul 2013)
MATLAB xUnit is a unit test framework for MATLAB code.
This file was selected as MATLAB Central Pick of the Week
%testFliplrMatrix Unit test for fliplr with matrix input
% Copyright 2013 The MathWorks, Inc.
in = magic(3);
assertEqual(fliplr(in), in(:, [3 2 1]));