1 AT_BANNER([CHARTS Rudimentary run tests])
3 dnl Check that the charts work
4 dnl Currently, "work" means that the commands which
5 dnl should generate them, run without crashing.
6 dnl Better tests will come later (hopefully)
12 compute x = rv.normal (56, 3) + rv.uniform (1, 1).
13 compute y = rv.normal (6, 2) + rv.uniform (1, 2).
14 compute A = rv.uniform (-1, 1).
22 /plot = histogram, npplot
36 AT_CHECK([pspp -O format=csv charts.sps], [0], [ignore])
42 data list list /fred * group * w *.
79 compute bert = fred + (group < 0.5) * 45.
80 compute charlie = fred + (group > 0.5) * 15.
83 ROC /fred bert charlie by group (0)
84 /plot = curve (reference).
88 AT_CHECK([pspp -O format=csv roc.sps], [0], [ignore])
101 compute vec(#v) = rv.normal (0, 45).
104 compute vec(#v) = vec (#v - 3) + rv.normal (0, 30).
112 factor /variables = all
118 AT_CHECK([pspp -O format=csv scree.sps], [0], [ignore])