Added an implementation of the median test
[pspp-builds.git] / tests / language / control / temporary.at
1 AT_BANNER([TEMPORARY])
2
3 dnl Tests for a bug that manifested when all transformations are temporary.
4 AT_SETUP([TEMPORARY as first transformation])
5 AT_DATA([temporary.sps], [dnl
6 DATA LIST LIST NOTABLE /X *.
7 BEGIN DATA.
8 1
9 2
10 3
11 4
12 5
13 6
14 7
15 8
16 9
17 END DATA.
18
19 TEMPORARY.
20 SELECT IF x > 5 .
21 LIST.
22
23 LIST.
24 ])
25 AT_CHECK([pspp -o pspp.csv temporary.sps])
26 AT_CHECK([cat pspp.csv], [0], [dnl
27 Table: Data List
28 X
29 6.00
30 7.00
31 8.00
32 9.00
33
34 Table: Data List
35 X
36 1.00
37 2.00
38 3.00
39 4.00
40 5.00
41 6.00
42 7.00
43 8.00
44 9.00
45 ])
46 AT_CLEANUP