7017
|
1 ## Copyright (C) 2006, 2007 John W. Eaton |
7016
|
2 ## |
|
3 ## This file is part of Octave. |
|
4 ## |
|
5 ## Octave is free software; you can redistribute it and/or modify it |
|
6 ## under the terms of the GNU General Public License as published by |
|
7 ## the Free Software Foundation; either version 3 of the License, or (at |
|
8 ## your option) any later version. |
|
9 ## |
|
10 ## Octave is distributed in the hope that it will be useful, but |
|
11 ## WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
13 ## General Public License for more details. |
|
14 ## |
|
15 ## You should have received a copy of the GNU General Public License |
|
16 ## along with Octave; see the file COPYING. If not, see |
|
17 ## <http://www.gnu.org/licenses/>. |
|
18 |
5590
|
19 %% Automatically generated from DejaGNU files |
|
20 |
|
21 %% test/octave.test/contin/contin-1.m |
|
22 %!test |
|
23 %! x = [1,2]; |
|
24 %! a = 1; |
|
25 %! b = 2; |
|
26 %! y = [a... # comments here ok |
|
27 %! b]; |
|
28 %! assert(all (y == x)); |
|
29 |
|
30 %% test/octave.test/contin/contin-2.m |
|
31 %!test |
|
32 %! x = [1,2]; |
|
33 %! a = 1; |
|
34 %! b = 2; |
|
35 %! y = [a... # comments here ok |
|
36 %! b]; |
|
37 %! assert(all (y == x)); |
|
38 |
|
39 %% test/octave.test/contin/contin-3.m |
|
40 %!test |
|
41 %! x = [1,2]; |
|
42 %! a = 1; |
|
43 %! b = 2; |
|
44 %! y = [a... # comments here ok |
|
45 %! b]; |
|
46 %! assert(all (y == x)); |
|
47 |
|
48 %% test/octave.test/contin/contin-4.m |
|
49 %!test |
|
50 %! x = [1,2]; |
|
51 %! a = 1; |
|
52 %! b = 2; |
|
53 %! y = [a... # comments ok here |
|
54 %! b]; |
|
55 %! assert(all (y == x)); |
|
56 |
|
57 %% test/octave.test/contin/contin-5.m |
|
58 %!test |
|
59 %! x = [1,2]; |
|
60 %! a = 1; |
|
61 %! b = 2; |
|
62 %! y = [a... # comments here ok |
|
63 %! b]; |
|
64 %! assert(all (y == x)); |
|
65 |
|
66 %% test/octave.test/contin/contin-6.m |
|
67 %!test |
|
68 %! x = [1,2]; |
|
69 %! a = 1; |
|
70 %! b = 2; |
|
71 %! y = [a... # comments here ok |
|
72 %! b]; |
|
73 %! assert(all (y == x)); |
|
74 |
|
75 %% test/octave.test/contin/contin-7.m |
|
76 %!test |
|
77 %! x = [1;2]; |
|
78 %! a = 1; |
|
79 %! b = 2; |
|
80 %! y = [a... # comments here ok |
|
81 %! ;\ |
|
82 %! |
|
83 %! b]; |
|
84 %! assert(all (y == x)); |
|
85 |
|
86 %% test/octave.test/contin/contin-8.m |
|
87 %!test |
|
88 %! x = [1;2]; |
|
89 %! a = 1; |
|
90 %! b = 2; |
|
91 %! y = [a... # comments here ok |
|
92 %! ;\ |
|
93 %! |
|
94 %! b]; |
|
95 %! assert(all (y == x)); |
|
96 |
|
97 %% test/octave.test/contin/contin-9.m |
|
98 %!test |
|
99 %! x = [1;2]; |
|
100 %! a = 1; |
|
101 %! b = 2; |
|
102 %! y = [a... # comments here ok |
|
103 %! ;\ |
|
104 %! |
|
105 %! b]; |
|
106 %! assert(all (y == x)); |
|
107 |
|
108 %% test/octave.test/contin/contin-10.m |
|
109 %!assert(1 + ... |
|
110 %! 2 - \# comments here ok |
|
111 %! 3 / ... # comments here ok |
|
112 %! -1,6); |
|
113 |
|
114 %% test/octave.test/contin/contin-11.m |
|
115 %!function y = f (a,... |
|
116 %! b, ... |
|
117 %! c, ... % comments ok |
|
118 %! x, # continuation characters not required in parens |
|
119 %! y, \# but they should work too. |
|
120 %! z) |
|
121 %! |
|
122 %! y = 1; |
|
123 %!test |
|
124 %! assert(f (),1); |
|
125 |
|
126 %% test/octave.test/contin/contin-12.m |
|
127 %!test |
|
128 %!assert(1 == 1 |
|
129 %! && 2 == 2 |
|
130 %! || 3 == 5); |
|
131 |
|
132 %% test/octave.test/contin/contin-13.m |
|
133 %!test |
|
134 %! x = [1, ... |
|
135 %! |
|
136 %! ... |
|
137 %! |
|
138 %! 2]; |
|
139 %! y = [1;2]; |
|
140 %! assert(all (y == x)); |
|
141 |
|
142 %% test/octave.test/contin/contin-14.m |
|
143 %!test |
|
144 %! x = [1, ... |
|
145 %! |
|
146 %! ... |
|
147 %! |
|
148 %! 2]; |
|
149 %! y = [1;2]; |
|
150 %! assert(all (y == x)); |
|
151 |
|
152 %% test/octave.test/contin/contin-15.m |
|
153 %!test |
|
154 %! x = [1,... |
|
155 %! 2]; |
|
156 %! y = [1,2]; |
|
157 %! assert(all (y == x)); |
|
158 |
|
159 %% test/octave.test/contin/contin-16.m |
|
160 %!test |
|
161 %! x = [ 1 , ... |
|
162 %! 2]; |
|
163 %! y = [1,2]; |
|
164 %! assert(all (y == x)); |
|
165 |