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

% TEST 1
res1 = imag([]);
% TEST 2
res2 = imag(m2sciUnknownType([]));
% TEST 3
res3 = imag(m2sciUnknownDims([]));
% TEST 4
res4 = imag([1]);
% TEST 5
res5 = imag([1,2,3]);
% TEST 6
res6 = imag([1;2;3]);
% TEST 7
res7 = imag([1,2,3;4,5,6]);
% TEST 8
res8 = imag(m2sciUnknownType([1]));
% TEST 9
res9 = imag(m2sciUnknownType([1,2,3]));
% TEST 10
res10 = imag(m2sciUnknownType([1;2;3]));
% TEST 11
res11 = imag(m2sciUnknownType([1,2,3;4,5,6]));
% TEST 12
res12 = imag(m2sciUnknownDims([1]));
% TEST 13
res13 = imag(m2sciUnknownDims([1,2,3]));
% TEST 14
res14 = imag(m2sciUnknownDims([1;2;3]));
% TEST 15
res15 = imag(m2sciUnknownDims([1,2,3;4,5,6]));
% TEST 16
res16 = imag([i]);
% TEST 17
res17 = imag([i,2i,3i]);
% TEST 18
res18 = imag([i;2i;3i]);
% TEST 19
res19 = imag([i,2i,3i;4i,5i,6i]);
% TEST 20
res20 = imag(m2sciUnknownType([i]));
% TEST 21
res21 = imag(m2sciUnknownType([i,2i,3i]));
% TEST 22
res22 = imag(m2sciUnknownType([i;2i;3i]));
% TEST 23
res23 = imag(m2sciUnknownType([i,2i,3i;4i,5i,6i]));
% TEST 24
res24 = imag(m2sciUnknownDims([i]));
% TEST 25
res25 = imag(m2sciUnknownDims([i,2i,3i]));
% TEST 26
res26 = imag(m2sciUnknownDims([i;2i;3i]));
% TEST 27
res27 = imag(m2sciUnknownDims([i,2i,3i;4i,5i,6i]));
% TEST 28
res28 = imag(['s']);
% TEST 29
res29 = imag(['str1']);
% TEST 30
res30 = imag(['str1','str2','str3']);
% TEST 31
res31 = imag(['str1';'str2';'str3']);
% TEST 32
res32 = imag(['str1','str2','str3';'str4','str5','str6']);
% TEST 33
res33 = imag(m2sciUnknownType(['s']));
% TEST 34
res34 = imag(m2sciUnknownType(['str1']));
% TEST 35
res35 = imag(m2sciUnknownType(['str1','str2','str3']));
% TEST 36
res36 = imag(m2sciUnknownType(['str1';'str2';'str3']));
% TEST 37
res37 = imag(m2sciUnknownType(['str1','str2','str3';'str4','str5','str6']));
% TEST 38
res38 = imag(m2sciUnknownDims(['s']));
% TEST 39
res39 = imag(m2sciUnknownDims(['str1']));
% TEST 40
res40 = imag(m2sciUnknownDims(['str1','str2','str3']));
% TEST 41
res41 = imag(m2sciUnknownDims(['str1';'str2';'str3']));
% TEST 42
res42 = imag(m2sciUnknownDims(['str1','str2','str3';'str4','str5','str6']));
% TEST 43
res43 = imag([[1]==[1]]);
% TEST 44
res44 = imag([[1,2,3]==[1,0,3]]);
% TEST 45
res45 = imag([[1;2;3]==[1;0;3]]);
% TEST 46
res46 = imag([[1,2,3;4,5,6]==[1,0,3;4,5,0]]);
% TEST 47
res47 = imag(m2sciUnknownType([[1]==[1]]));
% TEST 48
res48 = imag(m2sciUnknownType([[1,2,3]==[1,0,3]]));
% TEST 49
res49 = imag(m2sciUnknownType([[1;2;3]==[1;0;3]]));
% TEST 50
res50 = imag(m2sciUnknownType([[1,2,3;4,5,6]==[1,0,3;4,5,0]]));
% TEST 51
res51 = imag(m2sciUnknownDims([[1]==[1]]));
% TEST 52
res52 = imag(m2sciUnknownDims([[1,2,3]==[1,0,3]]));
% TEST 53
res53 = imag(m2sciUnknownDims([[1;2;3]==[1;0;3]]));
% TEST 54
res54 = imag(m2sciUnknownDims([[1,2,3;4,5,6]==[1,0,3;4,5,0]]));
