% Test file for function ones()
% Matlab version: 7.9.0.529 (R2009b)

% TEST 1
res1 = ones(2);
% TEST 2
res2 = ones(3,5);
% TEST 3
res3 = ones(4,4);
% TEST 4
res4 = ones([10,10]);
% TEST 5
res5 = ones(size([1 2]));
% TEST 6
res6 = ones(m2sciUnknownDims([1,2]));
