data-in: Convert test for numeric input formats to Autotest framework.
[pspp-builds.git] / tests / formats / date-in.sh
1 #! /bin/sh
2
3 TEMPDIR=/tmp/pspp-tst-$$
4 mkdir -p $TEMPDIR
5 trap 'cd /; rm -rf $TEMPDIR' 0
6
7 # ensure that top_builddir  are absolute
8 if [ -z "$top_builddir" ] ; then top_builddir=. ; fi
9 if [ -z "$top_srcdir" ] ; then top_srcdir=. ; fi
10 top_builddir=`cd $top_builddir; pwd`
11 PSPP=$top_builddir/src/ui/terminal/pspp$EXEEXT
12 : ${PERL:=perl}
13
14 # ensure that top_srcdir is absolute
15 top_srcdir=`cd $top_srcdir; pwd`
16
17 STAT_CONFIG_PATH=$top_srcdir/config
18 export STAT_CONFIG_PATH
19
20 fail()
21 {
22     echo $activity
23     echo FAILED
24     exit 1;
25 }
26
27
28 no_result()
29 {
30     echo $activity
31     echo NO RESULT;
32     exit 2;
33 }
34
35 pass()
36 {
37     exit 0;
38 }
39
40 cd $TEMPDIR
41
42 activity="write PRNG fragment"
43 cat > my-rand.pl <<'EOF'
44 # This random number generator and the test for it below are drawn
45 # from Park and Miller, "Random Number Generators: Good Ones are Hard
46 # to Come By", Communications of the ACM 31:10 (October 1988).  It is
47 # documented to function properly on systems with a 46-bit or longer
48 # real significand, which includes systems that have 64-bit IEEE reals
49 # (with 53-bit significand).  The test should catch any systems for
50 # which this is not true, in any case.
51
52 our ($seed) = 1;
53 sub my_rand {
54   my ($modulo) = @_;
55   my ($a) = 16807;
56   my ($m) = 2147483647;
57   my ($tmp) = $a * $seed;
58   $seed = $tmp - $m * int ($tmp / $m);
59   return $seed % $modulo;
60 }
61 EOF
62 if [ $? -ne 0 ] ; then no_result ; fi
63
64 activity="write PRNG test program"
65 cat > test-my-rand.pl <<'EOF'
66 #! /usr/bin/perl
67 use strict;
68 use warnings;
69 do 'my-rand.pl';
70 my_rand (1) foreach 1...10000;
71 our $seed;
72 die $seed if $seed != 1043618065;
73 EOF
74 if [ $? -ne 0 ] ; then no_result ; fi
75
76 activity="test PRNG"
77 $PERL test-my-rand.pl
78 if [ $? -ne 0 ] ; then no_result ; fi
79
80 activity="write program to generate PSPP syntax and data"
81 cat > date-in.pl <<'EOF'
82 #! /usr/bin/perl
83
84 use strict;
85 use warnings;
86
87 do 'my-rand.pl';
88
89 my @formats = (['date', 'd-m-y'],
90                ['adate', 'm-d-y'],
91                ['edate', 'd-m-y'],
92                ['jdate', 'j'],
93                ['sdate', 'y-m-d'],
94                ['qyr', 'qQy'],
95                ['moyr', 'm-y'],
96                ['wkyr', 'wWy'],
97                ['datetime', 'd-m-y +H:M', 'd-m-y +H:M:S']);
98
99 my @dates = (#yyyy  mm  dd  jjj  HH  MM  SS
100              [1648,  6, 10, 162,  0,  0,  0],
101              [1680,  6, 30, 182,  4, 50, 38],
102              [1716,  7, 24, 206, 12, 31, 35],
103              [1768,  6, 19, 171, 12, 47, 53],
104              [1819,  8,  2, 214,  1, 26,  0],
105              [1839,  3, 27,  86, 20, 58, 11],
106              [1903,  4, 19, 109,  7, 36,  5],
107              [1929,  8, 25, 237, 15, 43, 49],
108              [1941,  9, 29, 272,  4, 25,  9],
109              [1943,  4, 19, 109,  6, 49, 27],
110              [1943, 10,  7, 280,  2, 57, 52],
111              [1992,  3, 17,  77, 16, 45, 44],
112              [1996,  2, 25,  56, 21, 30, 57],
113              [1941,  9, 29, 272,  4, 25,  9],
114              [1943,  4, 19, 109,  6, 49, 27],
115              [1943, 10,  7, 280,  2, 57, 52],
116              [1992,  3, 17,  77, 16, 45, 44],
117              [1996,  2, 25,  56, 21, 30, 57],
118              [2038, 11, 10, 314, 22, 30,  4],
119              [2094,  7, 18, 199,  1, 56, 51]);
120
121 open (SYNTAX, '>', 'date-in.pspp') or die "date-in.pspp: create: $!\n";
122 print SYNTAX "SET EPOCH 1930.\n";
123 for my $format (@formats) {
124     my ($name) = @$format;
125     print SYNTAX "DATA LIST file='$name.data'/$name 1-40 ($name).\n";
126     print SYNTAX "PRINT OUTFILE='$name.out'/$name (F16.2).\n";
127     print SYNTAX "EXECUTE.\n";
128 }
129 close (SYNTAX);
130
131 for my $format (@formats) {
132     my ($fmt_name, @templates) = @$format;
133     my ($fn) = "$fmt_name.data";
134     open (DATA, '>', $fn) or die "$fn: create: $!\n";
135     select DATA;
136     for my $template (@templates) {
137         for my $date (@dates) {
138             print_date_with_template ($date, $template) for 1...10;
139         }
140     }
141     close (DATA);
142 }
143
144 sub print_date_with_template {
145     my ($date, $template) = @_;
146     my ($year, $month, $day, $julian, $hour, $minute, $second) = @$date;
147     my ($quarter) = int (($month - 1) / 3) + 1;
148     my ($week) = int (($julian - 1) / 7) + 1;
149     my (@year_types) = ('full');
150     push (@year_types, '2digit') if $year >= 1930 && $year < 2030;
151     for my $c (split ('', $template)) {
152         if ($c eq 'd') {
153             printf (+pick ('%d', '%02d'), $day);
154         } elsif ($c eq 'm') {
155             my ($type) = pick ('arabic', 'roman', 'abbrev', 'full');
156             if ($type eq 'arabic') {
157                 printf (+pick ('%d', '%02d'), $month);
158             } elsif ($type eq 'roman') {
159                 my ($mmm) = ('i', 'ii', 'iii',
160                              'iv', 'v', 'vi',
161                              'vii', 'viii', 'ix',
162                              'x', 'xi', 'xii')[$month - 1];
163                 print_rand_case ($mmm);
164             } elsif ($type eq 'abbrev') {
165                 my ($mmm) = qw (jan feb mar apr may jun
166                                 jul aug sep oct nov dec)[$month - 1];
167                 print_rand_case ($mmm);
168             } elsif ($type eq 'full') {
169                 my ($mmm) = qw (january february march
170                                 april may june
171                                 july august september
172                                 october november december)[$month - 1];
173                 print_rand_case ($mmm);
174             } else {
175                 die;
176             }
177         } elsif ($c eq 'y') {
178             my ($type) = pick (@year_types);
179             if ($type eq '2digit') {
180                 printf (+pick ('%d', '%02d'), $year % 100);
181             } elsif ($type eq 'full') {
182                 print $year;
183             } else {
184                 die;
185             }
186         } elsif ($c eq 'j') {
187             my ($type) = pick (@year_types);
188             if ($type eq '2digit') {
189                 printf ("%02d%03d", $year % 100, $julian);
190             } elsif ($type eq 'full') {
191                 printf ("%04d%03d", $year, $julian);
192             } else {
193                 die;
194             }
195         } elsif ($c eq 'q') {
196             print $quarter;
197         } elsif ($c eq 'w') {
198             print $week;
199         } elsif ($c eq 'H') {
200             printf (+pick ('%d', '%02d'), $hour);
201         } elsif ($c eq 'M') {
202             printf (+pick ('%d', '%02d'), $minute);
203         } elsif ($c eq 'S') {
204             printf (+pick ('%d', '%02d'), $second);
205         } elsif ($c eq '-') {
206             print +pick (' ', '-', '.', ',', '/');
207         } elsif ($c eq ':') {
208             print +pick (' ', ':');
209         } elsif ($c eq ' ') {
210             print ' ';
211         } elsif ($c eq 'Q') {
212             maybe_print_space ();
213             print_rand_case ('q');
214             maybe_print_space ();
215         } elsif ($c eq 'W') {
216             maybe_print_space ();
217             print_rand_case ('wk');
218             maybe_print_space ();
219         } elsif ($c eq '+') {
220             print +pick ('', '-', '+');
221         } else {
222             die;
223         }
224     }
225     print "\n";
226 }
227
228 sub print_rand_case {
229     my ($s) = @_;
230     my ($case) = pick (qw (uc lc tc));
231     if ($case eq 'uc') {
232         print uc ($s);
233     } elsif ($case eq 'lc') {
234         print lc ($s);
235     } elsif ($case eq 'tc') {
236         print ucfirst ($s);
237     } else {
238         die;
239     }
240 }
241
242 sub maybe_print_space {
243    print +pick ('', ' ');
244 }
245
246 sub pick {
247    return $_[int (my_rand ($#_ + 1))];
248 }
249 EOF
250 if [ $? -ne 0 ] ; then no_result ; fi
251
252 activity="generate PSPP syntax and data"
253 $PERL date-in.pl
254 if [ $? -ne 0 ] ; then no_result ; fi
255
256 activity="run program"
257 $SUPERVISOR $PSPP -o pspp.csv date-in.pspp
258 if [ $? -ne 0 ] ; then no_result ; fi
259
260 activity="compare adate.out output"
261 diff -u adate.out - <<EOF
262     2071958400.00
263     2071958400.00
264     2071958400.00
265     2071958400.00
266     2071958400.00
267     2071958400.00
268     2071958400.00
269     2071958400.00
270     2071958400.00
271     2071958400.00
272     3083529600.00
273     3083529600.00
274     3083529600.00
275     3083529600.00
276     3083529600.00
277     3083529600.00
278     3083529600.00
279     3083529600.00
280     3083529600.00
281     3083529600.00
282     4221590400.00
283     4221590400.00
284     4221590400.00
285     4221590400.00
286     4221590400.00
287     4221590400.00
288     4221590400.00
289     4221590400.00
290     4221590400.00
291     4221590400.00
292     5859561600.00
293     5859561600.00
294     5859561600.00
295     5859561600.00
296     5859561600.00
297     5859561600.00
298     5859561600.00
299     5859561600.00
300     5859561600.00
301     5859561600.00
302     7472649600.00
303     7472649600.00
304     7472649600.00
305     7472649600.00
306     7472649600.00
307     7472649600.00
308     7472649600.00
309     7472649600.00
310     7472649600.00
311     7472649600.00
312     8092742400.00
313     8092742400.00
314     8092742400.00
315     8092742400.00
316     8092742400.00
317     8092742400.00
318     8092742400.00
319     8092742400.00
320     8092742400.00
321     8092742400.00
322    10114329600.00
323    10114329600.00
324    10114329600.00
325    10114329600.00
326    10114329600.00
327    10114329600.00
328    10114329600.00
329    10114329600.00
330    10114329600.00
331    10114329600.00
332    10945929600.00
333    10945929600.00
334    10945929600.00
335    10945929600.00
336    10945929600.00
337    10945929600.00
338    10945929600.00
339    10945929600.00
340    10945929600.00
341    10945929600.00
342    11327644800.00
343    11327644800.00
344    11327644800.00
345    11327644800.00
346    11327644800.00
347    11327644800.00
348    11327644800.00
349    11327644800.00
350    11327644800.00
351    11327644800.00
352    11376633600.00
353    11376633600.00
354    11376633600.00
355    11376633600.00
356    11376633600.00
357    11376633600.00
358    11376633600.00
359    11376633600.00
360    11376633600.00
361    11376633600.00
362    11391408000.00
363    11391408000.00
364    11391408000.00
365    11391408000.00
366    11391408000.00
367    11391408000.00
368    11391408000.00
369    11391408000.00
370    11391408000.00
371    11391408000.00
372    12920169600.00
373    12920169600.00
374    12920169600.00
375    12920169600.00
376    12920169600.00
377    12920169600.00
378    12920169600.00
379    12920169600.00
380    12920169600.00
381    12920169600.00
382    13044585600.00
383    13044585600.00
384    13044585600.00
385    13044585600.00
386    13044585600.00
387    13044585600.00
388    13044585600.00
389    13044585600.00
390    13044585600.00
391    13044585600.00
392    11327644800.00
393    11327644800.00
394    11327644800.00
395    11327644800.00
396    11327644800.00
397    11327644800.00
398    11327644800.00
399    11327644800.00
400    11327644800.00
401    11327644800.00
402    11376633600.00
403    11376633600.00
404    11376633600.00
405    11376633600.00
406    11376633600.00
407    11376633600.00
408    11376633600.00
409    11376633600.00
410    11376633600.00
411    11376633600.00
412    11391408000.00
413    11391408000.00
414    11391408000.00
415    11391408000.00
416    11391408000.00
417    11391408000.00
418    11391408000.00
419    11391408000.00
420    11391408000.00
421    11391408000.00
422    12920169600.00
423    12920169600.00
424    12920169600.00
425    12920169600.00
426    12920169600.00
427    12920169600.00
428    12920169600.00
429    12920169600.00
430    12920169600.00
431    12920169600.00
432    13044585600.00
433    13044585600.00
434    13044585600.00
435    13044585600.00
436    13044585600.00
437    13044585600.00
438    13044585600.00
439    13044585600.00
440    13044585600.00
441    13044585600.00
442    14392339200.00
443    14392339200.00
444    14392339200.00
445    14392339200.00
446    14392339200.00
447    14392339200.00
448    14392339200.00
449    14392339200.00
450    14392339200.00
451    14392339200.00
452    16149628800.00
453    16149628800.00
454    16149628800.00
455    16149628800.00
456    16149628800.00
457    16149628800.00
458    16149628800.00
459    16149628800.00
460    16149628800.00
461    16149628800.00
462 EOF
463 if [ $? -ne 0 ] ; then fail ; fi
464
465 activity="compare date.out output"
466 diff -u date.out - <<EOF
467     2071958400.00
468     2071958400.00
469     2071958400.00
470     2071958400.00
471     2071958400.00
472     2071958400.00
473     2071958400.00
474     2071958400.00
475     2071958400.00
476     2071958400.00
477     3083529600.00
478     3083529600.00
479     3083529600.00
480     3083529600.00
481     3083529600.00
482     3083529600.00
483     3083529600.00
484     3083529600.00
485     3083529600.00
486     3083529600.00
487     4221590400.00
488     4221590400.00
489     4221590400.00
490     4221590400.00
491     4221590400.00
492     4221590400.00
493     4221590400.00
494     4221590400.00
495     4221590400.00
496     4221590400.00
497     5859561600.00
498     5859561600.00
499     5859561600.00
500     5859561600.00
501     5859561600.00
502     5859561600.00
503     5859561600.00
504     5859561600.00
505     5859561600.00
506     5859561600.00
507     7472649600.00
508     7472649600.00
509     7472649600.00
510     7472649600.00
511     7472649600.00
512     7472649600.00
513     7472649600.00
514     7472649600.00
515     7472649600.00
516     7472649600.00
517     8092742400.00
518     8092742400.00
519     8092742400.00
520     8092742400.00
521     8092742400.00
522     8092742400.00
523     8092742400.00
524     8092742400.00
525     8092742400.00
526     8092742400.00
527    10114329600.00
528    10114329600.00
529    10114329600.00
530    10114329600.00
531    10114329600.00
532    10114329600.00
533    10114329600.00
534    10114329600.00
535    10114329600.00
536    10114329600.00
537    10945929600.00
538    10945929600.00
539    10945929600.00
540    10945929600.00
541    10945929600.00
542    10945929600.00
543    10945929600.00
544    10945929600.00
545    10945929600.00
546    10945929600.00
547    11327644800.00
548    11327644800.00
549    11327644800.00
550    11327644800.00
551    11327644800.00
552    11327644800.00
553    11327644800.00
554    11327644800.00
555    11327644800.00
556    11327644800.00
557    11376633600.00
558    11376633600.00
559    11376633600.00
560    11376633600.00
561    11376633600.00
562    11376633600.00
563    11376633600.00
564    11376633600.00
565    11376633600.00
566    11376633600.00
567    11391408000.00
568    11391408000.00
569    11391408000.00
570    11391408000.00
571    11391408000.00
572    11391408000.00
573    11391408000.00
574    11391408000.00
575    11391408000.00
576    11391408000.00
577    12920169600.00
578    12920169600.00
579    12920169600.00
580    12920169600.00
581    12920169600.00
582    12920169600.00
583    12920169600.00
584    12920169600.00
585    12920169600.00
586    12920169600.00
587    13044585600.00
588    13044585600.00
589    13044585600.00
590    13044585600.00
591    13044585600.00
592    13044585600.00
593    13044585600.00
594    13044585600.00
595    13044585600.00
596    13044585600.00
597    11327644800.00
598    11327644800.00
599    11327644800.00
600    11327644800.00
601    11327644800.00
602    11327644800.00
603    11327644800.00
604    11327644800.00
605    11327644800.00
606    11327644800.00
607    11376633600.00
608    11376633600.00
609    11376633600.00
610    11376633600.00
611    11376633600.00
612    11376633600.00
613    11376633600.00
614    11376633600.00
615    11376633600.00
616    11376633600.00
617    11391408000.00
618    11391408000.00
619    11391408000.00
620    11391408000.00
621    11391408000.00
622    11391408000.00
623    11391408000.00
624    11391408000.00
625    11391408000.00
626    11391408000.00
627    12920169600.00
628    12920169600.00
629    12920169600.00
630    12920169600.00
631    12920169600.00
632    12920169600.00
633    12920169600.00
634    12920169600.00
635    12920169600.00
636    12920169600.00
637    13044585600.00
638    13044585600.00
639    13044585600.00
640    13044585600.00
641    13044585600.00
642    13044585600.00
643    13044585600.00
644    13044585600.00
645    13044585600.00
646    13044585600.00
647    14392339200.00
648    14392339200.00
649    14392339200.00
650    14392339200.00
651    14392339200.00
652    14392339200.00
653    14392339200.00
654    14392339200.00
655    14392339200.00
656    14392339200.00
657    16149628800.00
658    16149628800.00
659    16149628800.00
660    16149628800.00
661    16149628800.00
662    16149628800.00
663    16149628800.00
664    16149628800.00
665    16149628800.00
666    16149628800.00
667 EOF
668 if [ $? -ne 0 ] ; then fail ; fi
669
670 activity="compare datetime.out output"
671 diff -u datetime.out - <<EOF
672     2071958400.00
673     2071958400.00
674     2071958400.00
675     2071958400.00
676     2071958400.00
677     2071958400.00
678     2071958400.00
679     2071958400.00
680     2071958400.00
681     2071958400.00
682     3083512200.00
683     3083512200.00
684     3083512200.00
685     3083512200.00
686     3083547000.00
687     3083547000.00
688     3083547000.00
689     3083547000.00
690     3083512200.00
691     3083547000.00
692     4221635460.00
693     4221635460.00
694     4221545340.00
695     4221635460.00
696     4221545340.00
697     4221635460.00
698     4221545340.00
699     4221635460.00
700     4221545340.00
701     4221635460.00
702     5859607620.00
703     5859607620.00
704     5859607620.00
705     5859607620.00
706     5859515580.00
707     5859607620.00
708     5859607620.00
709     5859515580.00
710     5859607620.00
711     5859607620.00
712     7472644440.00
713     7472654760.00
714     7472654760.00
715     7472654760.00
716     7472644440.00
717     7472654760.00
718     7472644440.00
719     7472644440.00
720     7472654760.00
721     7472654760.00
722     8092817880.00
723     8092817880.00
724     8092817880.00
725     8092817880.00
726     8092666920.00
727     8092817880.00
728     8092817880.00
729     8092817880.00
730     8092817880.00
731     8092817880.00
732    10114356960.00
733    10114302240.00
734    10114302240.00
735    10114356960.00
736    10114356960.00
737    10114356960.00
738    10114356960.00
739    10114356960.00
740    10114356960.00
741    10114302240.00
742    10945873020.00
743    10945873020.00
744    10945873020.00
745    10945986180.00
746    10945873020.00
747    10945986180.00
748    10945873020.00
749    10945986180.00
750    10945986180.00
751    10945873020.00
752    11327660700.00
753    11327628900.00
754    11327660700.00
755    11327660700.00
756    11327628900.00
757    11327628900.00
758    11327660700.00
759    11327660700.00
760    11327660700.00
761    11327660700.00
762    11376658140.00
763    11376658140.00
764    11376658140.00
765    11376658140.00
766    11376658140.00
767    11376658140.00
768    11376609060.00
769    11376658140.00
770    11376658140.00
771    11376609060.00
772    11391418620.00
773    11391418620.00
774    11391418620.00
775    11391397380.00
776    11391418620.00
777    11391418620.00
778    11391397380.00
779    11391418620.00
780    11391397380.00
781    11391397380.00
782    12920229900.00
783    12920109300.00
784    12920109300.00
785    12920109300.00
786    12920229900.00
787    12920229900.00
788    12920229900.00
789    12920229900.00
790    12920109300.00
791    12920109300.00
792    13044508200.00
793    13044663000.00
794    13044663000.00
795    13044508200.00
796    13044508200.00
797    13044663000.00
798    13044663000.00
799    13044508200.00
800    13044663000.00
801    13044663000.00
802    11327628900.00
803    11327660700.00
804    11327660700.00
805    11327628900.00
806    11327660700.00
807    11327660700.00
808    11327628900.00
809    11327660700.00
810    11327628900.00
811    11327628900.00
812    11376658140.00
813    11376658140.00
814    11376658140.00
815    11376658140.00
816    11376658140.00
817    11376609060.00
818    11376609060.00
819    11376658140.00
820    11376609060.00
821    11376658140.00
822    11391418620.00
823    11391397380.00
824    11391418620.00
825    11391397380.00
826    11391397380.00
827    11391397380.00
828    11391418620.00
829    11391418620.00
830    11391418620.00
831    11391397380.00
832    12920229900.00
833    12920229900.00
834    12920229900.00
835    12920229900.00
836    12920229900.00
837    12920229900.00
838    12920109300.00
839    12920229900.00
840    12920109300.00
841    12920229900.00
842    13044508200.00
843    13044663000.00
844    13044508200.00
845    13044663000.00
846    13044663000.00
847    13044663000.00
848    13044663000.00
849    13044663000.00
850    13044663000.00
851    13044508200.00
852    14392420200.00
853    14392420200.00
854    14392258200.00
855    14392258200.00
856    14392420200.00
857    14392258200.00
858    14392258200.00
859    14392420200.00
860    14392420200.00
861    14392420200.00
862    16149635760.00
863    16149621840.00
864    16149635760.00
865    16149635760.00
866    16149635760.00
867    16149635760.00
868    16149635760.00
869    16149621840.00
870    16149621840.00
871    16149635760.00
872     2071958400.00
873     2071958400.00
874     2071958400.00
875     2071958400.00
876     2071958400.00
877     2071958400.00
878     2071958400.00
879     2071958400.00
880     2071958400.00
881     2071958400.00
882     3083547038.00
883     3083512162.00
884     3083512162.00
885     3083512162.00
886     3083547038.00
887     3083512162.00
888     3083547038.00
889     3083547038.00
890     3083547038.00
891     3083512162.00
892     4221635495.00
893     4221635495.00
894     4221545305.00
895     4221635495.00
896     4221635495.00
897     4221635495.00
898     4221545305.00
899     4221545305.00
900     4221545305.00
901     4221635495.00
902     5859607673.00
903     5859607673.00
904     5859515527.00
905     5859607673.00
906     5859607673.00
907     5859607673.00
908     5859607673.00
909     5859607673.00
910     5859515527.00
911     5859607673.00
912     7472654760.00
913     7472654760.00
914     7472654760.00
915     7472654760.00
916     7472654760.00
917     7472654760.00
918     7472654760.00
919     7472644440.00
920     7472644440.00
921     7472654760.00
922     8092817891.00
923     8092666909.00
924     8092817891.00
925     8092817891.00
926     8092666909.00
927     8092817891.00
928     8092817891.00
929     8092817891.00
930     8092817891.00
931     8092817891.00
932    10114356965.00
933    10114356965.00
934    10114302235.00
935    10114356965.00
936    10114356965.00
937    10114356965.00
938    10114356965.00
939    10114356965.00
940    10114356965.00
941    10114356965.00
942    10945986229.00
943    10945986229.00
944    10945872971.00
945    10945986229.00
946    10945872971.00
947    10945986229.00
948    10945986229.00
949    10945986229.00
950    10945986229.00
951    10945986229.00
952    11327628891.00
953    11327660709.00
954    11327660709.00
955    11327660709.00
956    11327660709.00
957    11327660709.00
958    11327628891.00
959    11327628891.00
960    11327660709.00
961    11327628891.00
962    11376658167.00
963    11376609033.00
964    11376609033.00
965    11376609033.00
966    11376658167.00
967    11376609033.00
968    11376658167.00
969    11376609033.00
970    11376609033.00
971    11376658167.00
972    11391397328.00
973    11391418672.00
974    11391397328.00
975    11391418672.00
976    11391397328.00
977    11391397328.00
978    11391418672.00
979    11391418672.00
980    11391418672.00
981    11391418672.00
982    12920229944.00
983    12920229944.00
984    12920109256.00
985    12920109256.00
986    12920229944.00
987    12920109256.00
988    12920109256.00
989    12920229944.00
990    12920229944.00
991    12920109256.00
992    13044663057.00
993    13044508143.00
994    13044663057.00
995    13044663057.00
996    13044508143.00
997    13044663057.00
998    13044663057.00
999    13044663057.00
1000    13044508143.00
1001    13044663057.00
1002    11327660709.00
1003    11327660709.00
1004    11327628891.00
1005    11327660709.00
1006    11327628891.00
1007    11327628891.00
1008    11327660709.00
1009    11327660709.00
1010    11327660709.00
1011    11327628891.00
1012    11376658167.00
1013    11376658167.00
1014    11376609033.00
1015    11376609033.00
1016    11376609033.00
1017    11376658167.00
1018    11376609033.00
1019    11376658167.00
1020    11376609033.00
1021    11376658167.00
1022    11391418672.00
1023    11391418672.00
1024    11391418672.00
1025    11391397328.00
1026    11391418672.00
1027    11391418672.00
1028    11391397328.00
1029    11391418672.00
1030    11391418672.00
1031    11391418672.00
1032    12920229944.00
1033    12920229944.00
1034    12920229944.00
1035    12920109256.00
1036    12920229944.00
1037    12920229944.00
1038    12920229944.00
1039    12920109256.00
1040    12920229944.00
1041    12920229944.00
1042    13044508143.00
1043    13044663057.00
1044    13044663057.00
1045    13044663057.00
1046    13044508143.00
1047    13044663057.00
1048    13044508143.00
1049    13044508143.00
1050    13044663057.00
1051    13044508143.00
1052    14392420204.00
1053    14392420204.00
1054    14392258196.00
1055    14392420204.00
1056    14392420204.00
1057    14392258196.00
1058    14392258196.00
1059    14392420204.00
1060    14392258196.00
1061    14392420204.00
1062    16149621789.00
1063    16149635811.00
1064    16149621789.00
1065    16149635811.00
1066    16149635811.00
1067    16149621789.00
1068    16149621789.00
1069    16149635811.00
1070    16149621789.00
1071    16149635811.00
1072 EOF
1073 if [ $? -ne 0 ] ; then fail ; fi
1074
1075 activity="compare edate.out output"
1076 diff -u edate.out - <<EOF
1077     2071958400.00
1078     2071958400.00
1079     2071958400.00
1080     2071958400.00
1081     2071958400.00
1082     2071958400.00
1083     2071958400.00
1084     2071958400.00
1085     2071958400.00
1086     2071958400.00
1087     3083529600.00
1088     3083529600.00
1089     3083529600.00
1090     3083529600.00
1091     3083529600.00
1092     3083529600.00
1093     3083529600.00
1094     3083529600.00
1095     3083529600.00
1096     3083529600.00
1097     4221590400.00
1098     4221590400.00
1099     4221590400.00
1100     4221590400.00
1101     4221590400.00
1102     4221590400.00
1103     4221590400.00
1104     4221590400.00
1105     4221590400.00
1106     4221590400.00
1107     5859561600.00
1108     5859561600.00
1109     5859561600.00
1110     5859561600.00
1111     5859561600.00
1112     5859561600.00
1113     5859561600.00
1114     5859561600.00
1115     5859561600.00
1116     5859561600.00
1117     7472649600.00
1118     7472649600.00
1119     7472649600.00
1120     7472649600.00
1121     7472649600.00
1122     7472649600.00
1123     7472649600.00
1124     7472649600.00
1125     7472649600.00
1126     7472649600.00
1127     8092742400.00
1128     8092742400.00
1129     8092742400.00
1130     8092742400.00
1131     8092742400.00
1132     8092742400.00
1133     8092742400.00
1134     8092742400.00
1135     8092742400.00
1136     8092742400.00
1137    10114329600.00
1138    10114329600.00
1139    10114329600.00
1140    10114329600.00
1141    10114329600.00
1142    10114329600.00
1143    10114329600.00
1144    10114329600.00
1145    10114329600.00
1146    10114329600.00
1147    10945929600.00
1148    10945929600.00
1149    10945929600.00
1150    10945929600.00
1151    10945929600.00
1152    10945929600.00
1153    10945929600.00
1154    10945929600.00
1155    10945929600.00
1156    10945929600.00
1157    11327644800.00
1158    11327644800.00
1159    11327644800.00
1160    11327644800.00
1161    11327644800.00
1162    11327644800.00
1163    11327644800.00
1164    11327644800.00
1165    11327644800.00
1166    11327644800.00
1167    11376633600.00
1168    11376633600.00
1169    11376633600.00
1170    11376633600.00
1171    11376633600.00
1172    11376633600.00
1173    11376633600.00
1174    11376633600.00
1175    11376633600.00
1176    11376633600.00
1177    11391408000.00
1178    11391408000.00
1179    11391408000.00
1180    11391408000.00
1181    11391408000.00
1182    11391408000.00
1183    11391408000.00
1184    11391408000.00
1185    11391408000.00
1186    11391408000.00
1187    12920169600.00
1188    12920169600.00
1189    12920169600.00
1190    12920169600.00
1191    12920169600.00
1192    12920169600.00
1193    12920169600.00
1194    12920169600.00
1195    12920169600.00
1196    12920169600.00
1197    13044585600.00
1198    13044585600.00
1199    13044585600.00
1200    13044585600.00
1201    13044585600.00
1202    13044585600.00
1203    13044585600.00
1204    13044585600.00
1205    13044585600.00
1206    13044585600.00
1207    11327644800.00
1208    11327644800.00
1209    11327644800.00
1210    11327644800.00
1211    11327644800.00
1212    11327644800.00
1213    11327644800.00
1214    11327644800.00
1215    11327644800.00
1216    11327644800.00
1217    11376633600.00
1218    11376633600.00
1219    11376633600.00
1220    11376633600.00
1221    11376633600.00
1222    11376633600.00
1223    11376633600.00
1224    11376633600.00
1225    11376633600.00
1226    11376633600.00
1227    11391408000.00
1228    11391408000.00
1229    11391408000.00
1230    11391408000.00
1231    11391408000.00
1232    11391408000.00
1233    11391408000.00
1234    11391408000.00
1235    11391408000.00
1236    11391408000.00
1237    12920169600.00
1238    12920169600.00
1239    12920169600.00
1240    12920169600.00
1241    12920169600.00
1242    12920169600.00
1243    12920169600.00
1244    12920169600.00
1245    12920169600.00
1246    12920169600.00
1247    13044585600.00
1248    13044585600.00
1249    13044585600.00
1250    13044585600.00
1251    13044585600.00
1252    13044585600.00
1253    13044585600.00
1254    13044585600.00
1255    13044585600.00
1256    13044585600.00
1257    14392339200.00
1258    14392339200.00
1259    14392339200.00
1260    14392339200.00
1261    14392339200.00
1262    14392339200.00
1263    14392339200.00
1264    14392339200.00
1265    14392339200.00
1266    14392339200.00
1267    16149628800.00
1268    16149628800.00
1269    16149628800.00
1270    16149628800.00
1271    16149628800.00
1272    16149628800.00
1273    16149628800.00
1274    16149628800.00
1275    16149628800.00
1276    16149628800.00
1277 EOF
1278 if [ $? -ne 0 ] ; then fail ; fi
1279
1280 activity="compare jdate.out output"
1281 diff -u jdate.out - <<EOF
1282     2071958400.00
1283     2071958400.00
1284     2071958400.00
1285     2071958400.00
1286     2071958400.00
1287     2071958400.00
1288     2071958400.00
1289     2071958400.00
1290     2071958400.00
1291     2071958400.00
1292     3083529600.00
1293     3083529600.00
1294     3083529600.00
1295     3083529600.00
1296     3083529600.00
1297     3083529600.00
1298     3083529600.00
1299     3083529600.00
1300     3083529600.00
1301     3083529600.00
1302     4221590400.00
1303     4221590400.00
1304     4221590400.00
1305     4221590400.00
1306     4221590400.00
1307     4221590400.00
1308     4221590400.00
1309     4221590400.00
1310     4221590400.00
1311     4221590400.00
1312     5859561600.00
1313     5859561600.00
1314     5859561600.00
1315     5859561600.00
1316     5859561600.00
1317     5859561600.00
1318     5859561600.00
1319     5859561600.00
1320     5859561600.00
1321     5859561600.00
1322     7472649600.00
1323     7472649600.00
1324     7472649600.00
1325     7472649600.00
1326     7472649600.00
1327     7472649600.00
1328     7472649600.00
1329     7472649600.00
1330     7472649600.00
1331     7472649600.00
1332     8092742400.00
1333     8092742400.00
1334     8092742400.00
1335     8092742400.00
1336     8092742400.00
1337     8092742400.00
1338     8092742400.00
1339     8092742400.00
1340     8092742400.00
1341     8092742400.00
1342    10114329600.00
1343    10114329600.00
1344    10114329600.00
1345    10114329600.00
1346    10114329600.00
1347    10114329600.00
1348    10114329600.00
1349    10114329600.00
1350    10114329600.00
1351    10114329600.00
1352    10945929600.00
1353    10945929600.00
1354    10945929600.00
1355    10945929600.00
1356    10945929600.00
1357    10945929600.00
1358    10945929600.00
1359    10945929600.00
1360    10945929600.00
1361    10945929600.00
1362    11327644800.00
1363    11327644800.00
1364    11327644800.00
1365    11327644800.00
1366    11327644800.00
1367    11327644800.00
1368    11327644800.00
1369    11327644800.00
1370    11327644800.00
1371    11327644800.00
1372    11376633600.00
1373    11376633600.00
1374    11376633600.00
1375    11376633600.00
1376    11376633600.00
1377    11376633600.00
1378    11376633600.00
1379    11376633600.00
1380    11376633600.00
1381    11376633600.00
1382    11391408000.00
1383    11391408000.00
1384    11391408000.00
1385    11391408000.00
1386    11391408000.00
1387    11391408000.00
1388    11391408000.00
1389    11391408000.00
1390    11391408000.00
1391    11391408000.00
1392    12920169600.00
1393    12920169600.00
1394    12920169600.00
1395    12920169600.00
1396    12920169600.00
1397    12920169600.00
1398    12920169600.00
1399    12920169600.00
1400    12920169600.00
1401    12920169600.00
1402    13044585600.00
1403    13044585600.00
1404    13044585600.00
1405    13044585600.00
1406    13044585600.00
1407    13044585600.00
1408    13044585600.00
1409    13044585600.00
1410    13044585600.00
1411    13044585600.00
1412    11327644800.00
1413    11327644800.00
1414    11327644800.00
1415    11327644800.00
1416    11327644800.00
1417    11327644800.00
1418    11327644800.00
1419    11327644800.00
1420    11327644800.00
1421    11327644800.00
1422    11376633600.00
1423    11376633600.00
1424    11376633600.00
1425    11376633600.00
1426    11376633600.00
1427    11376633600.00
1428    11376633600.00
1429    11376633600.00
1430    11376633600.00
1431    11376633600.00
1432    11391408000.00
1433    11391408000.00
1434    11391408000.00
1435    11391408000.00
1436    11391408000.00
1437    11391408000.00
1438    11391408000.00
1439    11391408000.00
1440    11391408000.00
1441    11391408000.00
1442    12920169600.00
1443    12920169600.00
1444    12920169600.00
1445    12920169600.00
1446    12920169600.00
1447    12920169600.00
1448    12920169600.00
1449    12920169600.00
1450    12920169600.00
1451    12920169600.00
1452    13044585600.00
1453    13044585600.00
1454    13044585600.00
1455    13044585600.00
1456    13044585600.00
1457    13044585600.00
1458    13044585600.00
1459    13044585600.00
1460    13044585600.00
1461    13044585600.00
1462    14392339200.00
1463    14392339200.00
1464    14392339200.00
1465    14392339200.00
1466    14392339200.00
1467    14392339200.00
1468    14392339200.00
1469    14392339200.00
1470    14392339200.00
1471    14392339200.00
1472    16149628800.00
1473    16149628800.00
1474    16149628800.00
1475    16149628800.00
1476    16149628800.00
1477    16149628800.00
1478    16149628800.00
1479    16149628800.00
1480    16149628800.00
1481    16149628800.00
1482 EOF
1483 if [ $? -ne 0 ] ; then fail ; fi
1484
1485 activity="compare moyr.out output"
1486 diff -u moyr.out - <<EOF
1487     2071180800.00
1488     2071180800.00
1489     2071180800.00
1490     2071180800.00
1491     2071180800.00
1492     2071180800.00
1493     2071180800.00
1494     2071180800.00
1495     2071180800.00
1496     2071180800.00
1497     3081024000.00
1498     3081024000.00
1499     3081024000.00
1500     3081024000.00
1501     3081024000.00
1502     3081024000.00
1503     3081024000.00
1504     3081024000.00
1505     3081024000.00
1506     3081024000.00
1507     4219603200.00
1508     4219603200.00
1509     4219603200.00
1510     4219603200.00
1511     4219603200.00
1512     4219603200.00
1513     4219603200.00
1514     4219603200.00
1515     4219603200.00
1516     4219603200.00
1517     5858006400.00
1518     5858006400.00
1519     5858006400.00
1520     5858006400.00
1521     5858006400.00
1522     5858006400.00
1523     5858006400.00
1524     5858006400.00
1525     5858006400.00
1526     5858006400.00
1527     7472563200.00
1528     7472563200.00
1529     7472563200.00
1530     7472563200.00
1531     7472563200.00
1532     7472563200.00
1533     7472563200.00
1534     7472563200.00
1535     7472563200.00
1536     7472563200.00
1537     8090496000.00
1538     8090496000.00
1539     8090496000.00
1540     8090496000.00
1541     8090496000.00
1542     8090496000.00
1543     8090496000.00
1544     8090496000.00
1545     8090496000.00
1546     8090496000.00
1547    10112774400.00
1548    10112774400.00
1549    10112774400.00
1550    10112774400.00
1551    10112774400.00
1552    10112774400.00
1553    10112774400.00
1554    10112774400.00
1555    10112774400.00
1556    10112774400.00
1557    10943856000.00
1558    10943856000.00
1559    10943856000.00
1560    10943856000.00
1561    10943856000.00
1562    10943856000.00
1563    10943856000.00
1564    10943856000.00
1565    10943856000.00
1566    10943856000.00
1567    11325225600.00
1568    11325225600.00
1569    11325225600.00
1570    11325225600.00
1571    11325225600.00
1572    11325225600.00
1573    11325225600.00
1574    11325225600.00
1575    11325225600.00
1576    11325225600.00
1577    11375078400.00
1578    11375078400.00
1579    11375078400.00
1580    11375078400.00
1581    11375078400.00
1582    11375078400.00
1583    11375078400.00
1584    11375078400.00
1585    11375078400.00
1586    11375078400.00
1587    11390889600.00
1588    11390889600.00
1589    11390889600.00
1590    11390889600.00
1591    11390889600.00
1592    11390889600.00
1593    11390889600.00
1594    11390889600.00
1595    11390889600.00
1596    11390889600.00
1597    12918787200.00
1598    12918787200.00
1599    12918787200.00
1600    12918787200.00
1601    12918787200.00
1602    12918787200.00
1603    12918787200.00
1604    12918787200.00
1605    12918787200.00
1606    12918787200.00
1607    13042512000.00
1608    13042512000.00
1609    13042512000.00
1610    13042512000.00
1611    13042512000.00
1612    13042512000.00
1613    13042512000.00
1614    13042512000.00
1615    13042512000.00
1616    13042512000.00
1617    11325225600.00
1618    11325225600.00
1619    11325225600.00
1620    11325225600.00
1621    11325225600.00
1622    11325225600.00
1623    11325225600.00
1624    11325225600.00
1625    11325225600.00
1626    11325225600.00
1627    11375078400.00
1628    11375078400.00
1629    11375078400.00
1630    11375078400.00
1631    11375078400.00
1632    11375078400.00
1633    11375078400.00
1634    11375078400.00
1635    11375078400.00
1636    11375078400.00
1637    11390889600.00
1638    11390889600.00
1639    11390889600.00
1640    11390889600.00
1641    11390889600.00
1642    11390889600.00
1643    11390889600.00
1644    11390889600.00
1645    11390889600.00
1646    11390889600.00
1647    12918787200.00
1648    12918787200.00
1649    12918787200.00
1650    12918787200.00
1651    12918787200.00
1652    12918787200.00
1653    12918787200.00
1654    12918787200.00
1655    12918787200.00
1656    12918787200.00
1657    13042512000.00
1658    13042512000.00
1659    13042512000.00
1660    13042512000.00
1661    13042512000.00
1662    13042512000.00
1663    13042512000.00
1664    13042512000.00
1665    13042512000.00
1666    13042512000.00
1667    14391561600.00
1668    14391561600.00
1669    14391561600.00
1670    14391561600.00
1671    14391561600.00
1672    14391561600.00
1673    14391561600.00
1674    14391561600.00
1675    14391561600.00
1676    14391561600.00
1677    16148160000.00
1678    16148160000.00
1679    16148160000.00
1680    16148160000.00
1681    16148160000.00
1682    16148160000.00
1683    16148160000.00
1684    16148160000.00
1685    16148160000.00
1686    16148160000.00
1687 EOF
1688 if [ $? -ne 0 ] ; then fail ; fi
1689
1690 activity="compare qyr.out output"
1691 diff -u qyr.out - <<EOF
1692     2065910400.00
1693     2065910400.00
1694     2065910400.00
1695     2065910400.00
1696     2065910400.00
1697     2065910400.00
1698     2065910400.00
1699     2065910400.00
1700     2065910400.00
1701     2065910400.00
1702     3075753600.00
1703     3075753600.00
1704     3075753600.00
1705     3075753600.00
1706     3075753600.00
1707     3075753600.00
1708     3075753600.00
1709     3075753600.00
1710     3075753600.00
1711     3075753600.00
1712     4219603200.00
1713     4219603200.00
1714     4219603200.00
1715     4219603200.00
1716     4219603200.00
1717     4219603200.00
1718     4219603200.00
1719     4219603200.00
1720     4219603200.00
1721     4219603200.00
1722     5852736000.00
1723     5852736000.00
1724     5852736000.00
1725     5852736000.00
1726     5852736000.00
1727     5852736000.00
1728     5852736000.00
1729     5852736000.00
1730     5852736000.00
1731     5852736000.00
1732     7469884800.00
1733     7469884800.00
1734     7469884800.00
1735     7469884800.00
1736     7469884800.00
1737     7469884800.00
1738     7469884800.00
1739     7469884800.00
1740     7469884800.00
1741     7469884800.00
1742     8085398400.00
1743     8085398400.00
1744     8085398400.00
1745     8085398400.00
1746     8085398400.00
1747     8085398400.00
1748     8085398400.00
1749     8085398400.00
1750     8085398400.00
1751     8085398400.00
1752    10112774400.00
1753    10112774400.00
1754    10112774400.00
1755    10112774400.00
1756    10112774400.00
1757    10112774400.00
1758    10112774400.00
1759    10112774400.00
1760    10112774400.00
1761    10112774400.00
1762    10941177600.00
1763    10941177600.00
1764    10941177600.00
1765    10941177600.00
1766    10941177600.00
1767    10941177600.00
1768    10941177600.00
1769    10941177600.00
1770    10941177600.00
1771    10941177600.00
1772    11319868800.00
1773    11319868800.00
1774    11319868800.00
1775    11319868800.00
1776    11319868800.00
1777    11319868800.00
1778    11319868800.00
1779    11319868800.00
1780    11319868800.00
1781    11319868800.00
1782    11375078400.00
1783    11375078400.00
1784    11375078400.00
1785    11375078400.00
1786    11375078400.00
1787    11375078400.00
1788    11375078400.00
1789    11375078400.00
1790    11375078400.00
1791    11375078400.00
1792    11390889600.00
1793    11390889600.00
1794    11390889600.00
1795    11390889600.00
1796    11390889600.00
1797    11390889600.00
1798    11390889600.00
1799    11390889600.00
1800    11390889600.00
1801    11390889600.00
1802    12913603200.00
1803    12913603200.00
1804    12913603200.00
1805    12913603200.00
1806    12913603200.00
1807    12913603200.00
1808    12913603200.00
1809    12913603200.00
1810    12913603200.00
1811    12913603200.00
1812    13039833600.00
1813    13039833600.00
1814    13039833600.00
1815    13039833600.00
1816    13039833600.00
1817    13039833600.00
1818    13039833600.00
1819    13039833600.00
1820    13039833600.00
1821    13039833600.00
1822    11319868800.00
1823    11319868800.00
1824    11319868800.00
1825    11319868800.00
1826    11319868800.00
1827    11319868800.00
1828    11319868800.00
1829    11319868800.00
1830    11319868800.00
1831    11319868800.00
1832    11375078400.00
1833    11375078400.00
1834    11375078400.00
1835    11375078400.00
1836    11375078400.00
1837    11375078400.00
1838    11375078400.00
1839    11375078400.00
1840    11375078400.00
1841    11375078400.00
1842    11390889600.00
1843    11390889600.00
1844    11390889600.00
1845    11390889600.00
1846    11390889600.00
1847    11390889600.00
1848    11390889600.00
1849    11390889600.00
1850    11390889600.00
1851    11390889600.00
1852    12913603200.00
1853    12913603200.00
1854    12913603200.00
1855    12913603200.00
1856    12913603200.00
1857    12913603200.00
1858    12913603200.00
1859    12913603200.00
1860    12913603200.00
1861    12913603200.00
1862    13039833600.00
1863    13039833600.00
1864    13039833600.00
1865    13039833600.00
1866    13039833600.00
1867    13039833600.00
1868    13039833600.00
1869    13039833600.00
1870    13039833600.00
1871    13039833600.00
1872    14388883200.00
1873    14388883200.00
1874    14388883200.00
1875    14388883200.00
1876    14388883200.00
1877    14388883200.00
1878    14388883200.00
1879    14388883200.00
1880    14388883200.00
1881    14388883200.00
1882    16148160000.00
1883    16148160000.00
1884    16148160000.00
1885    16148160000.00
1886    16148160000.00
1887    16148160000.00
1888    16148160000.00
1889    16148160000.00
1890    16148160000.00
1891    16148160000.00
1892 EOF
1893 if [ $? -ne 0 ] ; then fail ; fi
1894
1895 activity="compare sdate.out output"
1896 diff -u sdate.out - <<EOF
1897     2071958400.00
1898     2071958400.00
1899     2071958400.00
1900     2071958400.00
1901     2071958400.00
1902     2071958400.00
1903     2071958400.00
1904     2071958400.00
1905     2071958400.00
1906     2071958400.00
1907     3083529600.00
1908     3083529600.00
1909     3083529600.00
1910     3083529600.00
1911     3083529600.00
1912     3083529600.00
1913     3083529600.00
1914     3083529600.00
1915     3083529600.00
1916     3083529600.00
1917     4221590400.00
1918     4221590400.00
1919     4221590400.00
1920     4221590400.00
1921     4221590400.00
1922     4221590400.00
1923     4221590400.00
1924     4221590400.00
1925     4221590400.00
1926     4221590400.00
1927     5859561600.00
1928     5859561600.00
1929     5859561600.00
1930     5859561600.00
1931     5859561600.00
1932     5859561600.00
1933     5859561600.00
1934     5859561600.00
1935     5859561600.00
1936     5859561600.00
1937     7472649600.00
1938     7472649600.00
1939     7472649600.00
1940     7472649600.00
1941     7472649600.00
1942     7472649600.00
1943     7472649600.00
1944     7472649600.00
1945     7472649600.00
1946     7472649600.00
1947     8092742400.00
1948     8092742400.00
1949     8092742400.00
1950     8092742400.00
1951     8092742400.00
1952     8092742400.00
1953     8092742400.00
1954     8092742400.00
1955     8092742400.00
1956     8092742400.00
1957    10114329600.00
1958    10114329600.00
1959    10114329600.00
1960    10114329600.00
1961    10114329600.00
1962    10114329600.00
1963    10114329600.00
1964    10114329600.00
1965    10114329600.00
1966    10114329600.00
1967    10945929600.00
1968    10945929600.00
1969    10945929600.00
1970    10945929600.00
1971    10945929600.00
1972    10945929600.00
1973    10945929600.00
1974    10945929600.00
1975    10945929600.00
1976    10945929600.00
1977    11327644800.00
1978    11327644800.00
1979    11327644800.00
1980    11327644800.00
1981    11327644800.00
1982    11327644800.00
1983    11327644800.00
1984    11327644800.00
1985    11327644800.00
1986    11327644800.00
1987    11376633600.00
1988    11376633600.00
1989    11376633600.00
1990    11376633600.00
1991    11376633600.00
1992    11376633600.00
1993    11376633600.00
1994    11376633600.00
1995    11376633600.00
1996    11376633600.00
1997    11391408000.00
1998    11391408000.00
1999    11391408000.00
2000    11391408000.00
2001    11391408000.00
2002    11391408000.00
2003    11391408000.00
2004    11391408000.00
2005    11391408000.00
2006    11391408000.00
2007    12920169600.00
2008    12920169600.00
2009    12920169600.00
2010    12920169600.00
2011    12920169600.00
2012    12920169600.00
2013    12920169600.00
2014    12920169600.00
2015    12920169600.00
2016    12920169600.00
2017    13044585600.00
2018    13044585600.00
2019    13044585600.00
2020    13044585600.00
2021    13044585600.00
2022    13044585600.00
2023    13044585600.00
2024    13044585600.00
2025    13044585600.00
2026    13044585600.00
2027    11327644800.00
2028    11327644800.00
2029    11327644800.00
2030    11327644800.00
2031    11327644800.00
2032    11327644800.00
2033    11327644800.00
2034    11327644800.00
2035    11327644800.00
2036    11327644800.00
2037    11376633600.00
2038    11376633600.00
2039    11376633600.00
2040    11376633600.00
2041    11376633600.00
2042    11376633600.00
2043    11376633600.00
2044    11376633600.00
2045    11376633600.00
2046    11376633600.00
2047    11391408000.00
2048    11391408000.00
2049    11391408000.00
2050    11391408000.00
2051    11391408000.00
2052    11391408000.00
2053    11391408000.00
2054    11391408000.00
2055    11391408000.00
2056    11391408000.00
2057    12920169600.00
2058    12920169600.00
2059    12920169600.00
2060    12920169600.00
2061    12920169600.00
2062    12920169600.00
2063    12920169600.00
2064    12920169600.00
2065    12920169600.00
2066    12920169600.00
2067    13044585600.00
2068    13044585600.00
2069    13044585600.00
2070    13044585600.00
2071    13044585600.00
2072    13044585600.00
2073    13044585600.00
2074    13044585600.00
2075    13044585600.00
2076    13044585600.00
2077    14392339200.00
2078    14392339200.00
2079    14392339200.00
2080    14392339200.00
2081    14392339200.00
2082    14392339200.00
2083    14392339200.00
2084    14392339200.00
2085    14392339200.00
2086    14392339200.00
2087    16149628800.00
2088    16149628800.00
2089    16149628800.00
2090    16149628800.00
2091    16149628800.00
2092    16149628800.00
2093    16149628800.00
2094    16149628800.00
2095    16149628800.00
2096    16149628800.00
2097 EOF
2098 if [ $? -ne 0 ] ; then fail ; fi
2099
2100 activity="compare wkyr.out output"
2101 diff -u wkyr.out - <<EOF
2102     2071958400.00
2103     2071958400.00
2104     2071958400.00
2105     2071958400.00
2106     2071958400.00
2107     2071958400.00
2108     2071958400.00
2109     2071958400.00
2110     2071958400.00
2111     2071958400.00
2112     3083011200.00
2113     3083011200.00
2114     3083011200.00
2115     3083011200.00
2116     3083011200.00
2117     3083011200.00
2118     3083011200.00
2119     3083011200.00
2120     3083011200.00
2121     3083011200.00
2122     4221417600.00
2123     4221417600.00
2124     4221417600.00
2125     4221417600.00
2126     4221417600.00
2127     4221417600.00
2128     4221417600.00
2129     4221417600.00
2130     4221417600.00
2131     4221417600.00
2132     5859388800.00
2133     5859388800.00
2134     5859388800.00
2135     5859388800.00
2136     5859388800.00
2137     5859388800.00
2138     5859388800.00
2139     5859388800.00
2140     5859388800.00
2141     5859388800.00
2142     7472390400.00
2143     7472390400.00
2144     7472390400.00
2145     7472390400.00
2146     7472390400.00
2147     7472390400.00
2148     7472390400.00
2149     7472390400.00
2150     7472390400.00
2151     7472390400.00
2152     8092656000.00
2153     8092656000.00
2154     8092656000.00
2155     8092656000.00
2156     8092656000.00
2157     8092656000.00
2158     8092656000.00
2159     8092656000.00
2160     8092656000.00
2161     8092656000.00
2162    10114070400.00
2163    10114070400.00
2164    10114070400.00
2165    10114070400.00
2166    10114070400.00
2167    10114070400.00
2168    10114070400.00
2169    10114070400.00
2170    10114070400.00
2171    10114070400.00
2172    10945497600.00
2173    10945497600.00
2174    10945497600.00
2175    10945497600.00
2176    10945497600.00
2177    10945497600.00
2178    10945497600.00
2179    10945497600.00
2180    10945497600.00
2181    10945497600.00
2182    11327212800.00
2183    11327212800.00
2184    11327212800.00
2185    11327212800.00
2186    11327212800.00
2187    11327212800.00
2188    11327212800.00
2189    11327212800.00
2190    11327212800.00
2191    11327212800.00
2192    11376374400.00
2193    11376374400.00
2194    11376374400.00
2195    11376374400.00
2196    11376374400.00
2197    11376374400.00
2198    11376374400.00
2199    11376374400.00
2200    11376374400.00
2201    11376374400.00
2202    11390889600.00
2203    11390889600.00
2204    11390889600.00
2205    11390889600.00
2206    11390889600.00
2207    11390889600.00
2208    11390889600.00
2209    11390889600.00
2210    11390889600.00
2211    11390889600.00
2212    12919651200.00
2213    12919651200.00
2214    12919651200.00
2215    12919651200.00
2216    12919651200.00
2217    12919651200.00
2218    12919651200.00
2219    12919651200.00
2220    12919651200.00
2221    12919651200.00
2222    13044067200.00
2223    13044067200.00
2224    13044067200.00
2225    13044067200.00
2226    13044067200.00
2227    13044067200.00
2228    13044067200.00
2229    13044067200.00
2230    13044067200.00
2231    13044067200.00
2232    11327212800.00
2233    11327212800.00
2234    11327212800.00
2235    11327212800.00
2236    11327212800.00
2237    11327212800.00
2238    11327212800.00
2239    11327212800.00
2240    11327212800.00
2241    11327212800.00
2242    11376374400.00
2243    11376374400.00
2244    11376374400.00
2245    11376374400.00
2246    11376374400.00
2247    11376374400.00
2248    11376374400.00
2249    11376374400.00
2250    11376374400.00
2251    11376374400.00
2252    11390889600.00
2253    11390889600.00
2254    11390889600.00
2255    11390889600.00
2256    11390889600.00
2257    11390889600.00
2258    11390889600.00
2259    11390889600.00
2260    11390889600.00
2261    11390889600.00
2262    12919651200.00
2263    12919651200.00
2264    12919651200.00
2265    12919651200.00
2266    12919651200.00
2267    12919651200.00
2268    12919651200.00
2269    12919651200.00
2270    12919651200.00
2271    12919651200.00
2272    13044067200.00
2273    13044067200.00
2274    13044067200.00
2275    13044067200.00
2276    13044067200.00
2277    13044067200.00
2278    13044067200.00
2279    13044067200.00
2280    13044067200.00
2281    13044067200.00
2282    14391907200.00
2283    14391907200.00
2284    14391907200.00
2285    14391907200.00
2286    14391907200.00
2287    14391907200.00
2288    14391907200.00
2289    14391907200.00
2290    14391907200.00
2291    14391907200.00
2292    16149456000.00
2293    16149456000.00
2294    16149456000.00
2295    16149456000.00
2296    16149456000.00
2297    16149456000.00
2298    16149456000.00
2299    16149456000.00
2300    16149456000.00
2301    16149456000.00
2302 EOF
2303 if [ $? -ne 0 ] ; then fail ; fi
2304
2305 pass