annotate gcc/testsuite/ada/acats/tests/cxg/cxg1004.a @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 -- CXG1004.A
kono
parents:
diff changeset
2 --
kono
parents:
diff changeset
3 -- Grant of Unlimited Rights
kono
parents:
diff changeset
4 --
kono
parents:
diff changeset
5 -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
kono
parents:
diff changeset
6 -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
kono
parents:
diff changeset
7 -- unlimited rights in the software and documentation contained herein.
kono
parents:
diff changeset
8 -- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making
kono
parents:
diff changeset
9 -- this public release, the Government intends to confer upon all
kono
parents:
diff changeset
10 -- recipients unlimited rights equal to those held by the Government.
kono
parents:
diff changeset
11 -- These rights include rights to use, duplicate, release or disclose the
kono
parents:
diff changeset
12 -- released technical data and computer software in whole or in part, in
kono
parents:
diff changeset
13 -- any manner and for any purpose whatsoever, and to have or permit others
kono
parents:
diff changeset
14 -- to do so.
kono
parents:
diff changeset
15 --
kono
parents:
diff changeset
16 -- DISCLAIMER
kono
parents:
diff changeset
17 --
kono
parents:
diff changeset
18 -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR
kono
parents:
diff changeset
19 -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED
kono
parents:
diff changeset
20 -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE
kono
parents:
diff changeset
21 -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE
kono
parents:
diff changeset
22 -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A
kono
parents:
diff changeset
23 -- PARTICULAR PURPOSE OF SAID MATERIAL.
kono
parents:
diff changeset
24 --*
kono
parents:
diff changeset
25 --
kono
parents:
diff changeset
26 -- OBJECTIVE:
kono
parents:
diff changeset
27 -- Check that the specified exceptions are raised by the subprograms
kono
parents:
diff changeset
28 -- defined in package Ada.Numerics.Generic_Complex_Elementary_Functions
kono
parents:
diff changeset
29 -- given the prescribed input parameter values.
kono
parents:
diff changeset
30 --
kono
parents:
diff changeset
31 -- TEST DESCRIPTION:
kono
parents:
diff changeset
32 -- This test checks that specific subprograms defined in the
kono
parents:
diff changeset
33 -- package Ada.Numerics.Generic_Complex_Elementary_Functions raise the
kono
parents:
diff changeset
34 -- exceptions Argument_Error and Constraint_Error when their input
kono
parents:
diff changeset
35 -- parameter value are those specified as causing each exception.
kono
parents:
diff changeset
36 -- In the case of Constraint_Error, the exception will be raised in
kono
parents:
diff changeset
37 -- each test case, provided that the value of the attribute
kono
parents:
diff changeset
38 -- 'Machine_Overflows (for the actual type of package
kono
parents:
diff changeset
39 -- Generic_Complex_Type) is True.
kono
parents:
diff changeset
40 --
kono
parents:
diff changeset
41 -- APPLICABILITY CRITERIA:
kono
parents:
diff changeset
42 -- This test only applies to implementations supporting the
kono
parents:
diff changeset
43 -- numerics annex.
kono
parents:
diff changeset
44 --
kono
parents:
diff changeset
45 --
kono
parents:
diff changeset
46 -- CHANGE HISTORY:
kono
parents:
diff changeset
47 -- 06 Dec 94 SAIC ACVC 2.0
kono
parents:
diff changeset
48 -- 16 Nov 95 SAIC Corrected visibility problems for ACVC 2.0.1.
kono
parents:
diff changeset
49 -- 29 Sep 96 SAIC Incorporated reviewer comments.
kono
parents:
diff changeset
50 -- 02 Jun 98 EDS Replace "_i" with "_One".
kono
parents:
diff changeset
51 --!
kono
parents:
diff changeset
52
kono
parents:
diff changeset
53 with Ada.Numerics.Generic_Complex_Types;
kono
parents:
diff changeset
54 with Ada.Numerics.Generic_Complex_Elementary_Functions;
kono
parents:
diff changeset
55 with Report;
kono
parents:
diff changeset
56
kono
parents:
diff changeset
57 procedure CXG1004 is
kono
parents:
diff changeset
58 begin
kono
parents:
diff changeset
59
kono
parents:
diff changeset
60 Report.Test ("CXG1004", "Check that the specified exceptions are " &
kono
parents:
diff changeset
61 "raised by the subprograms defined in package " &
kono
parents:
diff changeset
62 "Ada.Numerics.Generic_Complex_Elementary_" &
kono
parents:
diff changeset
63 "Functions given the prescribed input " &
kono
parents:
diff changeset
64 "parameter values");
kono
parents:
diff changeset
65
kono
parents:
diff changeset
66 Test_Block:
kono
parents:
diff changeset
67 declare
kono
parents:
diff changeset
68
kono
parents:
diff changeset
69 type Real_Type is new Float;
kono
parents:
diff changeset
70
kono
parents:
diff changeset
71 TC_Overflows : Boolean := Real_Type'Machine_Overflows;
kono
parents:
diff changeset
72
kono
parents:
diff changeset
73 package Complex_Pack is
kono
parents:
diff changeset
74 new Ada.Numerics.Generic_Complex_Types(Real_Type);
kono
parents:
diff changeset
75
kono
parents:
diff changeset
76 package CEF is
kono
parents:
diff changeset
77 new Ada.Numerics.Generic_Complex_Elementary_Functions(Complex_Pack);
kono
parents:
diff changeset
78
kono
parents:
diff changeset
79 use Ada.Numerics, Complex_Pack, CEF;
kono
parents:
diff changeset
80
kono
parents:
diff changeset
81 Complex_Zero : constant Complex := Compose_From_Cartesian(0.0, 0.0);
kono
parents:
diff changeset
82 Plus_One : constant Complex := Compose_From_Cartesian(1.0, 0.0);
kono
parents:
diff changeset
83 Minus_One : constant Complex := Compose_From_Cartesian(-1.0, 0.0);
kono
parents:
diff changeset
84 Plus_i : constant Complex := Compose_From_Cartesian(i);
kono
parents:
diff changeset
85 Minus_i : constant Complex := Compose_From_Cartesian(-i);
kono
parents:
diff changeset
86
kono
parents:
diff changeset
87 Complex_Negative_Real : constant Complex :=
kono
parents:
diff changeset
88 Compose_From_Cartesian(-4.0, 2.0);
kono
parents:
diff changeset
89 Complex_Negative_Imaginary : constant Complex :=
kono
parents:
diff changeset
90 Compose_From_Cartesian(3.0, -5.0);
kono
parents:
diff changeset
91
kono
parents:
diff changeset
92 TC_Complex : Complex;
kono
parents:
diff changeset
93
kono
parents:
diff changeset
94
kono
parents:
diff changeset
95 -- This procedure is used in "Exception Raising" calls below in an
kono
parents:
diff changeset
96 -- attempt to avoid elimination of the subtest through optimization.
kono
parents:
diff changeset
97
kono
parents:
diff changeset
98 procedure No_Optimize (The_Complex_Number : Complex) is
kono
parents:
diff changeset
99 begin
kono
parents:
diff changeset
100 Report.Comment("No Optimize: Should never be printed " &
kono
parents:
diff changeset
101 Integer'Image(Integer(The_Complex_Number.Im)));
kono
parents:
diff changeset
102 end No_Optimize;
kono
parents:
diff changeset
103
kono
parents:
diff changeset
104
kono
parents:
diff changeset
105 begin
kono
parents:
diff changeset
106
kono
parents:
diff changeset
107 -- Check that the exception Numerics.Argument_Error is raised by the
kono
parents:
diff changeset
108 -- exponentiation operator when the value of the left operand is zero,
kono
parents:
diff changeset
109 -- and the real component of the exponent (or the exponent itself) is
kono
parents:
diff changeset
110 -- zero.
kono
parents:
diff changeset
111
kono
parents:
diff changeset
112 begin
kono
parents:
diff changeset
113 TC_Complex := "**"(Left => Complex_Zero, Right => Complex_Zero);
kono
parents:
diff changeset
114 Report.Failed("Argument_Error not raised by exponentiation " &
kono
parents:
diff changeset
115 "operator, left operand = complex zero, right " &
kono
parents:
diff changeset
116 "operand = complex zero");
kono
parents:
diff changeset
117 No_Optimize(TC_Complex);
kono
parents:
diff changeset
118 exception
kono
parents:
diff changeset
119 when Argument_Error => null; -- OK, expected exception.
kono
parents:
diff changeset
120 when others =>
kono
parents:
diff changeset
121 Report.Failed("Incorrect exception raised by exponentiation " &
kono
parents:
diff changeset
122 "operator, left operand = complex zero, right " &
kono
parents:
diff changeset
123 "operand = complex zero");
kono
parents:
diff changeset
124 end;
kono
parents:
diff changeset
125
kono
parents:
diff changeset
126 begin
kono
parents:
diff changeset
127 TC_Complex := Complex_Zero**0.0;
kono
parents:
diff changeset
128 Report.Failed("Argument_Error not raised by exponentiation " &
kono
parents:
diff changeset
129 "operator, left operand = complex zero, right " &
kono
parents:
diff changeset
130 "operand = real zero");
kono
parents:
diff changeset
131 No_Optimize(TC_Complex);
kono
parents:
diff changeset
132 exception
kono
parents:
diff changeset
133 when Argument_Error => null; -- OK, expected exception.
kono
parents:
diff changeset
134 when others =>
kono
parents:
diff changeset
135 Report.Failed("Incorrect exception raised by exponentiation " &
kono
parents:
diff changeset
136 "operator, left operand = complex zero, right " &
kono
parents:
diff changeset
137 "operand = real zero");
kono
parents:
diff changeset
138 end;
kono
parents:
diff changeset
139
kono
parents:
diff changeset
140
kono
parents:
diff changeset
141 begin
kono
parents:
diff changeset
142 TC_Complex := "**"(Left => 0.0, Right => Complex_Zero);
kono
parents:
diff changeset
143 Report.Failed("Argument_Error not raised by exponentiation " &
kono
parents:
diff changeset
144 "operator, left operand = real zero, right " &
kono
parents:
diff changeset
145 "operand = complex zero");
kono
parents:
diff changeset
146 No_Optimize(TC_Complex);
kono
parents:
diff changeset
147 exception
kono
parents:
diff changeset
148 when Argument_Error => null; -- OK, expected exception.
kono
parents:
diff changeset
149 when others =>
kono
parents:
diff changeset
150 Report.Failed("Incorrect exception raised by exponentiation " &
kono
parents:
diff changeset
151 "operator, left operand = real zero, right " &
kono
parents:
diff changeset
152 "operand = complex zero");
kono
parents:
diff changeset
153 end;
kono
parents:
diff changeset
154
kono
parents:
diff changeset
155
kono
parents:
diff changeset
156 -- Check that the exception Constraint_Error is raised under the
kono
parents:
diff changeset
157 -- specified circumstances, provided that
kono
parents:
diff changeset
158 -- Complex_Types.Real'Machine_Overflows is True.
kono
parents:
diff changeset
159
kono
parents:
diff changeset
160 if TC_Overflows then
kono
parents:
diff changeset
161
kono
parents:
diff changeset
162 -- Raised by Log, when the value of the parameter X is zero.
kono
parents:
diff changeset
163 begin
kono
parents:
diff changeset
164 TC_Complex := Log (X => Complex_Zero);
kono
parents:
diff changeset
165 Report.Failed("Constraint_Error not raised when Function " &
kono
parents:
diff changeset
166 "Log given parameter value of complex zero");
kono
parents:
diff changeset
167 No_Optimize(TC_Complex);
kono
parents:
diff changeset
168 exception
kono
parents:
diff changeset
169 when Constraint_Error => null; -- OK, expected exception.
kono
parents:
diff changeset
170 when others =>
kono
parents:
diff changeset
171 Report.Failed("Incorrect exception raised when Function " &
kono
parents:
diff changeset
172 "Log given parameter value of complex zero");
kono
parents:
diff changeset
173 end;
kono
parents:
diff changeset
174
kono
parents:
diff changeset
175 -- Raised by Cot, when the value of the parameter X is zero.
kono
parents:
diff changeset
176 begin
kono
parents:
diff changeset
177 TC_Complex := Cot (X => Complex_Zero);
kono
parents:
diff changeset
178 Report.Failed("Constraint_Error not raised when Function " &
kono
parents:
diff changeset
179 "Cot given parameter value of complex zero");
kono
parents:
diff changeset
180 No_Optimize(TC_Complex);
kono
parents:
diff changeset
181 exception
kono
parents:
diff changeset
182 when Constraint_Error => null; -- OK, expected exception.
kono
parents:
diff changeset
183 when others =>
kono
parents:
diff changeset
184 Report.Failed("Incorrect exception raised when Function " &
kono
parents:
diff changeset
185 "Cot given parameter value of complex zero");
kono
parents:
diff changeset
186 end;
kono
parents:
diff changeset
187
kono
parents:
diff changeset
188 -- Raised by Coth, when the value of the parameter X is zero.
kono
parents:
diff changeset
189 begin
kono
parents:
diff changeset
190 TC_Complex := Coth (Complex_Zero);
kono
parents:
diff changeset
191 Report.Failed("Constraint_Error not raised when Function " &
kono
parents:
diff changeset
192 "Coth given parameter value of complex zero");
kono
parents:
diff changeset
193 No_Optimize(TC_Complex);
kono
parents:
diff changeset
194 exception
kono
parents:
diff changeset
195 when Constraint_Error => null; -- OK, expected exception.
kono
parents:
diff changeset
196 when others =>
kono
parents:
diff changeset
197 Report.Failed("Incorrect exception raised when Function " &
kono
parents:
diff changeset
198 "Coth given parameter value of complex zero");
kono
parents:
diff changeset
199 end;
kono
parents:
diff changeset
200
kono
parents:
diff changeset
201 -- Raised by the exponentiation operator, when the value of the
kono
parents:
diff changeset
202 -- left operand is zero and the real component of the exponent
kono
parents:
diff changeset
203 -- is negative.
kono
parents:
diff changeset
204 begin
kono
parents:
diff changeset
205 TC_Complex := Complex_Zero**Complex_Negative_Real;
kono
parents:
diff changeset
206 Report.Failed("Constraint_Error not raised when the " &
kono
parents:
diff changeset
207 "exponentiation operator left operand is " &
kono
parents:
diff changeset
208 "complex zero, and the real component of " &
kono
parents:
diff changeset
209 "the exponent is negative");
kono
parents:
diff changeset
210 No_Optimize(TC_Complex);
kono
parents:
diff changeset
211 exception
kono
parents:
diff changeset
212 when Constraint_Error => null; -- OK, expected exception.
kono
parents:
diff changeset
213 when others =>
kono
parents:
diff changeset
214 Report.Failed("Incorrect exception raised when the " &
kono
parents:
diff changeset
215 "exponentiation operator left operand is " &
kono
parents:
diff changeset
216 "complex zero, and the real component of " &
kono
parents:
diff changeset
217 "the exponent is negative");
kono
parents:
diff changeset
218 end;
kono
parents:
diff changeset
219
kono
parents:
diff changeset
220 -- Raised by the exponentiation operator, when the value of the
kono
parents:
diff changeset
221 -- left operand is zero and the exponent itself (when it is of
kono
parents:
diff changeset
222 -- type real) is negative.
kono
parents:
diff changeset
223 declare
kono
parents:
diff changeset
224 Negative_Exponent : constant Real_Type := -4.0;
kono
parents:
diff changeset
225 begin
kono
parents:
diff changeset
226 TC_Complex := Complex_Zero**Negative_Exponent;
kono
parents:
diff changeset
227 Report.Failed("Constraint_Error not raised when the " &
kono
parents:
diff changeset
228 "exponentiation operator left operand is " &
kono
parents:
diff changeset
229 "complex zero, and the real exponent is " &
kono
parents:
diff changeset
230 "negative");
kono
parents:
diff changeset
231 No_Optimize(TC_Complex);
kono
parents:
diff changeset
232 exception
kono
parents:
diff changeset
233 when Constraint_Error => null; -- OK, expected exception.
kono
parents:
diff changeset
234 when others =>
kono
parents:
diff changeset
235 Report.Failed("Incorrect exception raised when the " &
kono
parents:
diff changeset
236 "exponentiation operator left operand is " &
kono
parents:
diff changeset
237 "complex zero, and the real exponent is " &
kono
parents:
diff changeset
238 "negative");
kono
parents:
diff changeset
239 end;
kono
parents:
diff changeset
240
kono
parents:
diff changeset
241 -- Raised by Arctan, when the value of the parameter is +i.
kono
parents:
diff changeset
242 begin
kono
parents:
diff changeset
243 TC_Complex := Arctan (Plus_i);
kono
parents:
diff changeset
244 Report.Failed("Constraint_Error not raised when Function " &
kono
parents:
diff changeset
245 "Arctan is given parameter value +i");
kono
parents:
diff changeset
246 No_Optimize(TC_Complex);
kono
parents:
diff changeset
247 exception
kono
parents:
diff changeset
248 when Constraint_Error => null; -- OK, expected exception.
kono
parents:
diff changeset
249 when others =>
kono
parents:
diff changeset
250 Report.Failed("Incorrect exception raised when Function " &
kono
parents:
diff changeset
251 "Arctan is given parameter value +i");
kono
parents:
diff changeset
252 end;
kono
parents:
diff changeset
253
kono
parents:
diff changeset
254 -- Raised by Arctan, when the value of the parameter is -i.
kono
parents:
diff changeset
255 begin
kono
parents:
diff changeset
256 TC_Complex := Arctan (Minus_i);
kono
parents:
diff changeset
257 Report.Failed("Constraint_Error not raised when Function " &
kono
parents:
diff changeset
258 "Arctan is given parameter value -i");
kono
parents:
diff changeset
259 No_Optimize(TC_Complex);
kono
parents:
diff changeset
260 exception
kono
parents:
diff changeset
261 when Constraint_Error => null; -- OK, expected exception.
kono
parents:
diff changeset
262 when others =>
kono
parents:
diff changeset
263 Report.Failed("Incorrect exception raised when Function " &
kono
parents:
diff changeset
264 "Arctan is given parameter value -i");
kono
parents:
diff changeset
265 end;
kono
parents:
diff changeset
266
kono
parents:
diff changeset
267 -- Raised by Arccot, when the value of the parameter is +i.
kono
parents:
diff changeset
268 begin
kono
parents:
diff changeset
269 TC_Complex := Arccot (Plus_i);
kono
parents:
diff changeset
270 Report.Failed("Constraint_Error not raised when Function " &
kono
parents:
diff changeset
271 "Arccot is given parameter value +i");
kono
parents:
diff changeset
272 No_Optimize(TC_Complex);
kono
parents:
diff changeset
273 exception
kono
parents:
diff changeset
274 when Constraint_Error => null; -- OK, expected exception.
kono
parents:
diff changeset
275 when others =>
kono
parents:
diff changeset
276 Report.Failed("Incorrect exception raised when Function " &
kono
parents:
diff changeset
277 "Arccot is given parameter value +i");
kono
parents:
diff changeset
278 end;
kono
parents:
diff changeset
279
kono
parents:
diff changeset
280 -- Raised by Arccot, when the value of the parameter is -i.
kono
parents:
diff changeset
281 begin
kono
parents:
diff changeset
282 TC_Complex := Arccot (Minus_i);
kono
parents:
diff changeset
283 Report.Failed("Constraint_Error not raised when Function " &
kono
parents:
diff changeset
284 "Arccot is given parameter value -i");
kono
parents:
diff changeset
285 No_Optimize(TC_Complex);
kono
parents:
diff changeset
286 exception
kono
parents:
diff changeset
287 when Constraint_Error => null; -- OK, expected exception.
kono
parents:
diff changeset
288 when others =>
kono
parents:
diff changeset
289 Report.Failed("Incorrect exception raised when Function " &
kono
parents:
diff changeset
290 "Arccot is given parameter value -i");
kono
parents:
diff changeset
291 end;
kono
parents:
diff changeset
292
kono
parents:
diff changeset
293 -- Raised by Arctanh, when the value of the parameter is +1.
kono
parents:
diff changeset
294 begin
kono
parents:
diff changeset
295 TC_Complex := Arctanh (Plus_One);
kono
parents:
diff changeset
296 Report.Failed("Constraint_Error not raised when Function " &
kono
parents:
diff changeset
297 "Arctanh is given parameter value +1");
kono
parents:
diff changeset
298 No_Optimize(TC_Complex);
kono
parents:
diff changeset
299 exception
kono
parents:
diff changeset
300 when Constraint_Error => null; -- OK, expected exception.
kono
parents:
diff changeset
301 when others =>
kono
parents:
diff changeset
302 Report.Failed("Incorrect exception raised when Function " &
kono
parents:
diff changeset
303 "Arctanh is given parameter value +1");
kono
parents:
diff changeset
304 end;
kono
parents:
diff changeset
305
kono
parents:
diff changeset
306 -- Raised by Arctanh, when the value of the parameter is -1.
kono
parents:
diff changeset
307 begin
kono
parents:
diff changeset
308 TC_Complex := Arctanh (Minus_One);
kono
parents:
diff changeset
309 Report.Failed("Constraint_Error not raised when Function " &
kono
parents:
diff changeset
310 "Arctanh is given parameter value -1");
kono
parents:
diff changeset
311 No_Optimize(TC_Complex);
kono
parents:
diff changeset
312 exception
kono
parents:
diff changeset
313 when Constraint_Error => null; -- OK, expected exception.
kono
parents:
diff changeset
314 when others =>
kono
parents:
diff changeset
315 Report.Failed("Incorrect exception raised when Function " &
kono
parents:
diff changeset
316 "Arctanh is given parameter value -1");
kono
parents:
diff changeset
317 end;
kono
parents:
diff changeset
318
kono
parents:
diff changeset
319 -- Raised by Arccoth, when the value of the parameter is +1.
kono
parents:
diff changeset
320 begin
kono
parents:
diff changeset
321 TC_Complex := Arccoth (Plus_One);
kono
parents:
diff changeset
322 Report.Failed("Constraint_Error not raised when Function " &
kono
parents:
diff changeset
323 "Arccoth is given parameter value +1");
kono
parents:
diff changeset
324 No_Optimize(TC_Complex);
kono
parents:
diff changeset
325 exception
kono
parents:
diff changeset
326 when Constraint_Error => null; -- OK, expected exception.
kono
parents:
diff changeset
327 when others =>
kono
parents:
diff changeset
328 Report.Failed("Incorrect exception raised when Function " &
kono
parents:
diff changeset
329 "Arccoth is given parameter value +1");
kono
parents:
diff changeset
330 end;
kono
parents:
diff changeset
331
kono
parents:
diff changeset
332 -- Raised by Arccoth, when the value of the parameter is -1.
kono
parents:
diff changeset
333 begin
kono
parents:
diff changeset
334 TC_Complex := Arccoth (Minus_One);
kono
parents:
diff changeset
335 Report.Failed("Constraint_Error not raised when Function " &
kono
parents:
diff changeset
336 "Arccoth is given parameter value -1");
kono
parents:
diff changeset
337 No_Optimize(TC_Complex);
kono
parents:
diff changeset
338 exception
kono
parents:
diff changeset
339 when Constraint_Error => null; -- OK, expected exception.
kono
parents:
diff changeset
340 when others =>
kono
parents:
diff changeset
341 Report.Failed("Incorrect exception raised when Function " &
kono
parents:
diff changeset
342 "Arccoth is given parameter value -1");
kono
parents:
diff changeset
343 end;
kono
parents:
diff changeset
344
kono
parents:
diff changeset
345 else
kono
parents:
diff changeset
346 Report.Comment
kono
parents:
diff changeset
347 ("Attribute Complex_Pack.Real'Machine_Overflows is False; " &
kono
parents:
diff changeset
348 "evaluation of the complex elementary functions under " &
kono
parents:
diff changeset
349 "specified circumstances was not performed");
kono
parents:
diff changeset
350 end if;
kono
parents:
diff changeset
351
kono
parents:
diff changeset
352
kono
parents:
diff changeset
353 exception
kono
parents:
diff changeset
354 when others =>
kono
parents:
diff changeset
355 Report.Failed ("Unexpected exception raised in Test_Block");
kono
parents:
diff changeset
356 end Test_Block;
kono
parents:
diff changeset
357
kono
parents:
diff changeset
358 Report.Result;
kono
parents:
diff changeset
359
kono
parents:
diff changeset
360 end CXG1004;