Added a test for the lag command and started on the sample command
authorJohn Darrington <john@darrington.wattle.id.au>
Tue, 16 Dec 2003 08:30:11 +0000 (08:30 +0000)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 16 Dec 2003 08:30:11 +0000 (08:30 +0000)
tests/Makefile.am
tests/lag.stat [deleted file]
tests/sample.stat

index b7c58ec060a804dc9b014c83347973ead52e89c3..ca1e5001ab84802b59de3658e85f5152b3759224 100644 (file)
@@ -11,6 +11,7 @@ TESTS = command/aggregate.sh \
        command/count.sh \
        command/descriptives.sh \
        command/flip.sh \
+       command/lag.sh \
        command/print.sh \
        command/sort.sh \
        command/split-file.sh \
diff --git a/tests/lag.stat b/tests/lag.stat
deleted file mode 100644 (file)
index 5b9e936..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-title 'Test LAG'.
-
-data list /w 1.
-begin data.
-1
-2
-3
-4
-5
-end data.
-
-compute x=lag(w,1).
-compute y=lag(x).
-compute z=lag(w,2).
-list.
-
index 9a2c0071bfb24eab998b5baff0150fe0dbfd2b3c..f630391bca32a0b81f4b94e156e000d7d02d7881 100644 (file)
@@ -1,6 +1,5 @@
-title 'Test SAMPLE utility'.
 
-set seed=random.
+set seed=2
 data list /a 1-2.
 begin data.
 1
@@ -14,6 +13,6 @@ begin data.
 9
 10
 end data.
-sample .5.
-n 5.
+
+sample .5 .
 list.