1 dnl PSPP - a program for statistical analysis.
2 dnl Copyright (C) 2017 Free Software Foundation, Inc.
4 dnl This program is free software: you can redistribute it and/or modify
5 dnl it under the terms of the GNU General Public License as published by
6 dnl the Free Software Foundation, either version 3 of the License, or
7 dnl (at your option) any later version.
9 dnl This program is distributed in the hope that it will be useful,
10 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
11 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 dnl GNU General Public License for more details.
14 dnl You should have received a copy of the GNU General Public License
15 dnl along with this program. If not, see <http://www.gnu.org/licenses/>.
25 DEBUG EVALUATE/YRMODA(0,1,1) = YRMODA(1900,1,1).
26 DEBUG EVALUATE/YRMODA(1,1,1) = YRMODA(1901,1,1).
27 DEBUG EVALUATE/YRMODA(12,1,1) = YRMODA(1912,1,1).
28 DEBUG EVALUATE/YRMODA(70,1,1) = YRMODA(1970,1,1).
29 DEBUG EVALUATE/YRMODA(87,1,1) = YRMODA(1987,1,1).
30 DEBUG EVALUATE/YRMODA(99,1,1) = YRMODA(1999,1,1).
31 DEBUG EVALUATE/YRMODA(100,1,1).
32 DEBUG EVALUATE/DATE.DMY(1,1,0) = DATE.DMY(1,1,1900).
33 DEBUG EVALUATE/DATE.DMY(1,1,1) = DATE.DMY(1,1,1901).
34 DEBUG EVALUATE/DATE.DMY(1,1,12) = DATE.DMY(1,1,1912).
35 DEBUG EVALUATE/DATE.DMY(1,1,70) = DATE.DMY(1,1,1970).
36 DEBUG EVALUATE/DATE.DMY(1,1,87) = DATE.DMY(1,1,1987).
37 DEBUG EVALUATE/DATE.DMY(1,1,99) = DATE.DMY(1,1,1999).
38 DEBUG EVALUATE/DATE.DMY(1,1,100).
41 DEBUG EVALUATE/YRMODA(0,1,1) = YRMODA(1900,1,1).
42 DEBUG EVALUATE/YRMODA(1,1,1) = YRMODA(1901,1,1).
43 DEBUG EVALUATE/YRMODA(12,1,1) = YRMODA(1912,1,1).
44 DEBUG EVALUATE/YRMODA(70,1,1) = YRMODA(1970,1,1).
45 DEBUG EVALUATE/YRMODA(87,1,1) = YRMODA(1987,1,1).
46 DEBUG EVALUATE/YRMODA(99,1,1) = YRMODA(1999,1,1).
47 DEBUG EVALUATE/YRMODA(100,1,1).
48 DEBUG EVALUATE/DATE.DMY(1,1,0) = DATE.DMY(1,1,2000).
49 DEBUG EVALUATE/DATE.DMY(1,1,1) = DATE.DMY(1,1,1901).
50 DEBUG EVALUATE/DATE.DMY(1,1,12) = DATE.DMY(1,1,1912).
51 DEBUG EVALUATE/DATE.DMY(1,1,70) = DATE.DMY(1,1,1970).
52 DEBUG EVALUATE/DATE.DMY(1,1,87) = DATE.DMY(1,1,1987).
53 DEBUG EVALUATE/DATE.DMY(1,1,99) = DATE.DMY(1,1,1999).
54 DEBUG EVALUATE/DATE.DMY(1,1,100).
57 DEBUG EVALUATE/YRMODA(0,1,1) = YRMODA(1900,1,1).
58 DEBUG EVALUATE/YRMODA(1,1,1) = YRMODA(1901,1,1).
59 DEBUG EVALUATE/YRMODA(12,1,1) = YRMODA(1912,1,1).
60 DEBUG EVALUATE/YRMODA(70,1,1) = YRMODA(1970,1,1).
61 DEBUG EVALUATE/YRMODA(87,1,1) = YRMODA(1987,1,1).
62 DEBUG EVALUATE/YRMODA(99,1,1) = YRMODA(1999,1,1).
63 DEBUG EVALUATE/YRMODA(100,1,1).
64 DEBUG EVALUATE/DATE.DMY(1,1,0) = DATE.DMY(1,1,2000).
65 DEBUG EVALUATE/DATE.DMY(1,1,1) = DATE.DMY(1,1,2001).
66 DEBUG EVALUATE/DATE.DMY(1,1,12) = DATE.DMY(1,1,1912).
67 DEBUG EVALUATE/DATE.DMY(1,1,70) = DATE.DMY(1,1,1970).
68 DEBUG EVALUATE/DATE.DMY(1,1,87) = DATE.DMY(1,1,1987).
69 DEBUG EVALUATE/DATE.DMY(1,1,99) = DATE.DMY(1,1,1999).
70 DEBUG EVALUATE/DATE.DMY(1,1,100).
73 DEBUG EVALUATE/YRMODA(0,1,1) = YRMODA(1900,1,1).
74 DEBUG EVALUATE/YRMODA(1,1,1) = YRMODA(1901,1,1).
75 DEBUG EVALUATE/YRMODA(12,1,1) = YRMODA(1912,1,1).
76 DEBUG EVALUATE/YRMODA(70,1,1) = YRMODA(1970,1,1).
77 DEBUG EVALUATE/YRMODA(87,1,1) = YRMODA(1987,1,1).
78 DEBUG EVALUATE/YRMODA(99,1,1) = YRMODA(1999,1,1).
79 DEBUG EVALUATE/YRMODA(100,1,1).
80 DEBUG EVALUATE/DATE.DMY(1,1,0) = DATE.DMY(1,1,2000).
81 DEBUG EVALUATE/DATE.DMY(1,1,1) = DATE.DMY(1,1,2001).
82 DEBUG EVALUATE/DATE.DMY(1,1,12) = DATE.DMY(1,1,1912).
83 DEBUG EVALUATE/DATE.DMY(1,1,70) = DATE.DMY(1,1,1970).
84 DEBUG EVALUATE/DATE.DMY(1,1,87) = DATE.DMY(1,1,1987).
85 DEBUG EVALUATE/DATE.DMY(1,1,99) = DATE.DMY(1,1,1999).
86 DEBUG EVALUATE/DATE.DMY(1,1,100).
89 DEBUG EVALUATE/YRMODA(0,1,1) = YRMODA(1900,1,1).
90 DEBUG EVALUATE/YRMODA(1,1,1) = YRMODA(1901,1,1).
91 DEBUG EVALUATE/YRMODA(12,1,1) = YRMODA(1912,1,1).
92 DEBUG EVALUATE/YRMODA(70,1,1) = YRMODA(1970,1,1).
93 DEBUG EVALUATE/YRMODA(87,1,1) = YRMODA(1987,1,1).
94 DEBUG EVALUATE/YRMODA(99,1,1) = YRMODA(1999,1,1).
95 DEBUG EVALUATE/YRMODA(100,1,1).
96 DEBUG EVALUATE/DATE.DMY(1,1,0) = DATE.DMY(1,1,2100).
97 DEBUG EVALUATE/DATE.DMY(1,1,1) = DATE.DMY(1,1,2101).
98 DEBUG EVALUATE/DATE.DMY(1,1,12) = DATE.DMY(1,1,2012).
99 DEBUG EVALUATE/DATE.DMY(1,1,70) = DATE.DMY(1,1,2070).
100 DEBUG EVALUATE/DATE.DMY(1,1,87) = DATE.DMY(1,1,2087).
101 DEBUG EVALUATE/DATE.DMY(1,1,99) = DATE.DMY(1,1,2099).
102 DEBUG EVALUATE/DATE.DMY(1,1,100).
105 AT_CHECK([pspp --testing-mode epoch.sps], [1], [dnl
106 YRMODA(0,1,1) = YRMODA(1900,1,1) => true
108 YRMODA(1,1,1) = YRMODA(1901,1,1) => true
110 YRMODA(12,1,1) = YRMODA(1912,1,1) => true
112 YRMODA(70,1,1) = YRMODA(1970,1,1) => true
114 YRMODA(87,1,1) = YRMODA(1987,1,1) => true
116 YRMODA(99,1,1) = YRMODA(1999,1,1) => true
118 epoch.sps:11.16-11.30: error: DEBUG EVALUATE: Invalid arguments to YRMODA
120 11 | DEBUG EVALUATE/YRMODA(100,1,1).
123 epoch.sps:11.23-11.25: note: DEBUG EVALUATE: Date 0100-1-1 is before the
124 earliest supported date 1582-10-15.
125 11 | DEBUG EVALUATE/YRMODA(100,1,1).
128 YRMODA(100,1,1) => sysmis
130 DATE.DMY(1,1,0) = DATE.DMY(1,1,1900) => true
132 DATE.DMY(1,1,1) = DATE.DMY(1,1,1901) => true
134 DATE.DMY(1,1,12) = DATE.DMY(1,1,1912) => true
136 DATE.DMY(1,1,70) = DATE.DMY(1,1,1970) => true
138 DATE.DMY(1,1,87) = DATE.DMY(1,1,1987) => true
140 DATE.DMY(1,1,99) = DATE.DMY(1,1,1999) => true
142 epoch.sps:18.16-18.32: error: DEBUG EVALUATE: Invalid arguments to DATE.DMY
144 18 | DEBUG EVALUATE/DATE.DMY(1,1,100).
147 epoch.sps:18.29-18.31: note: DEBUG EVALUATE: Date 0100-1-1 is before the
148 earliest supported date 1582-10-15.
149 18 | DEBUG EVALUATE/DATE.DMY(1,1,100).
152 DATE.DMY(1,1,100) => sysmis
154 YRMODA(0,1,1) = YRMODA(1900,1,1) => true
156 YRMODA(1,1,1) = YRMODA(1901,1,1) => true
158 YRMODA(12,1,1) = YRMODA(1912,1,1) => true
160 YRMODA(70,1,1) = YRMODA(1970,1,1) => true
162 YRMODA(87,1,1) = YRMODA(1987,1,1) => true
164 YRMODA(99,1,1) = YRMODA(1999,1,1) => true
166 epoch.sps:27.16-27.30: error: DEBUG EVALUATE: Invalid arguments to YRMODA
168 27 | DEBUG EVALUATE/YRMODA(100,1,1).
171 epoch.sps:27.23-27.25: note: DEBUG EVALUATE: Date 0100-1-1 is before the
172 earliest supported date 1582-10-15.
173 27 | DEBUG EVALUATE/YRMODA(100,1,1).
176 YRMODA(100,1,1) => sysmis
178 DATE.DMY(1,1,0) = DATE.DMY(1,1,2000) => true
180 DATE.DMY(1,1,1) = DATE.DMY(1,1,1901) => true
182 DATE.DMY(1,1,12) = DATE.DMY(1,1,1912) => true
184 DATE.DMY(1,1,70) = DATE.DMY(1,1,1970) => true
186 DATE.DMY(1,1,87) = DATE.DMY(1,1,1987) => true
188 DATE.DMY(1,1,99) = DATE.DMY(1,1,1999) => true
190 epoch.sps:34.16-34.32: error: DEBUG EVALUATE: Invalid arguments to DATE.DMY
192 34 | DEBUG EVALUATE/DATE.DMY(1,1,100).
195 epoch.sps:34.29-34.31: note: DEBUG EVALUATE: Date 0100-1-1 is before the
196 earliest supported date 1582-10-15.
197 34 | DEBUG EVALUATE/DATE.DMY(1,1,100).
200 DATE.DMY(1,1,100) => sysmis
202 YRMODA(0,1,1) = YRMODA(1900,1,1) => true
204 YRMODA(1,1,1) = YRMODA(1901,1,1) => true
206 YRMODA(12,1,1) = YRMODA(1912,1,1) => true
208 YRMODA(70,1,1) = YRMODA(1970,1,1) => true
210 YRMODA(87,1,1) = YRMODA(1987,1,1) => true
212 YRMODA(99,1,1) = YRMODA(1999,1,1) => true
214 epoch.sps:43.16-43.30: error: DEBUG EVALUATE: Invalid arguments to YRMODA
216 43 | DEBUG EVALUATE/YRMODA(100,1,1).
219 epoch.sps:43.23-43.25: note: DEBUG EVALUATE: Date 0100-1-1 is before the
220 earliest supported date 1582-10-15.
221 43 | DEBUG EVALUATE/YRMODA(100,1,1).
224 YRMODA(100,1,1) => sysmis
226 DATE.DMY(1,1,0) = DATE.DMY(1,1,2000) => true
228 DATE.DMY(1,1,1) = DATE.DMY(1,1,2001) => true
230 DATE.DMY(1,1,12) = DATE.DMY(1,1,1912) => true
232 DATE.DMY(1,1,70) = DATE.DMY(1,1,1970) => true
234 DATE.DMY(1,1,87) = DATE.DMY(1,1,1987) => true
236 DATE.DMY(1,1,99) = DATE.DMY(1,1,1999) => true
238 epoch.sps:50.16-50.32: error: DEBUG EVALUATE: Invalid arguments to DATE.DMY
240 50 | DEBUG EVALUATE/DATE.DMY(1,1,100).
243 epoch.sps:50.29-50.31: note: DEBUG EVALUATE: Date 0100-1-1 is before the
244 earliest supported date 1582-10-15.
245 50 | DEBUG EVALUATE/DATE.DMY(1,1,100).
248 DATE.DMY(1,1,100) => sysmis
250 YRMODA(0,1,1) = YRMODA(1900,1,1) => true
252 YRMODA(1,1,1) = YRMODA(1901,1,1) => true
254 YRMODA(12,1,1) = YRMODA(1912,1,1) => true
256 YRMODA(70,1,1) = YRMODA(1970,1,1) => true
258 YRMODA(87,1,1) = YRMODA(1987,1,1) => true
260 YRMODA(99,1,1) = YRMODA(1999,1,1) => true
262 epoch.sps:59.16-59.30: error: DEBUG EVALUATE: Invalid arguments to YRMODA
264 59 | DEBUG EVALUATE/YRMODA(100,1,1).
267 epoch.sps:59.23-59.25: note: DEBUG EVALUATE: Date 0100-1-1 is before the
268 earliest supported date 1582-10-15.
269 59 | DEBUG EVALUATE/YRMODA(100,1,1).
272 YRMODA(100,1,1) => sysmis
274 DATE.DMY(1,1,0) = DATE.DMY(1,1,2000) => true
276 DATE.DMY(1,1,1) = DATE.DMY(1,1,2001) => true
278 DATE.DMY(1,1,12) = DATE.DMY(1,1,1912) => true
280 DATE.DMY(1,1,70) = DATE.DMY(1,1,1970) => true
282 DATE.DMY(1,1,87) = DATE.DMY(1,1,1987) => true
284 DATE.DMY(1,1,99) = DATE.DMY(1,1,1999) => true
286 epoch.sps:66.16-66.32: error: DEBUG EVALUATE: Invalid arguments to DATE.DMY
288 66 | DEBUG EVALUATE/DATE.DMY(1,1,100).
291 epoch.sps:66.29-66.31: note: DEBUG EVALUATE: Date 0100-1-1 is before the
292 earliest supported date 1582-10-15.
293 66 | DEBUG EVALUATE/DATE.DMY(1,1,100).
296 DATE.DMY(1,1,100) => sysmis
298 YRMODA(0,1,1) = YRMODA(1900,1,1) => true
300 YRMODA(1,1,1) = YRMODA(1901,1,1) => true
302 YRMODA(12,1,1) = YRMODA(1912,1,1) => true
304 YRMODA(70,1,1) = YRMODA(1970,1,1) => true
306 YRMODA(87,1,1) = YRMODA(1987,1,1) => true
308 YRMODA(99,1,1) = YRMODA(1999,1,1) => true
310 epoch.sps:75.16-75.30: error: DEBUG EVALUATE: Invalid arguments to YRMODA
312 75 | DEBUG EVALUATE/YRMODA(100,1,1).
315 epoch.sps:75.23-75.25: note: DEBUG EVALUATE: Date 0100-1-1 is before the
316 earliest supported date 1582-10-15.
317 75 | DEBUG EVALUATE/YRMODA(100,1,1).
320 YRMODA(100,1,1) => sysmis
322 DATE.DMY(1,1,0) = DATE.DMY(1,1,2100) => true
324 DATE.DMY(1,1,1) = DATE.DMY(1,1,2101) => true
326 DATE.DMY(1,1,12) = DATE.DMY(1,1,2012) => true
328 DATE.DMY(1,1,70) = DATE.DMY(1,1,2070) => true
330 DATE.DMY(1,1,87) = DATE.DMY(1,1,2087) => true
332 DATE.DMY(1,1,99) = DATE.DMY(1,1,2099) => true
334 epoch.sps:82.16-82.32: error: DEBUG EVALUATE: Invalid arguments to DATE.DMY
336 82 | DEBUG EVALUATE/DATE.DMY(1,1,100).
339 epoch.sps:82.29-82.31: note: DEBUG EVALUATE: Date 0100-1-1 is before the
340 earliest supported date 1582-10-15.
341 82 | DEBUG EVALUATE/DATE.DMY(1,1,100).
344 DATE.DMY(1,1,100) => sysmis