fix up test output
authorBen Pfaff <blp@cs.stanford.edu>
Fri, 12 Nov 2021 03:50:45 +0000 (19:50 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 12 Nov 2021 03:50:45 +0000 (19:50 -0800)
tests/language/stats/matrix.at

index abfdde3e4f7efe7e9d7273cd4600ab9fb224a0aa..bace7412f5f85e542ab0a978d5f5fa519bb6d82d 100644 (file)
@@ -3235,7 +3235,6 @@ END DATA.
 
 MATRIX.
 MGET.
-DISPLAY.
 PRINT MN/FORMAT=F5.1.
 PRINT SD/FORMAT=F5.1.
 PRINT NC/FORMAT=F5.0.
@@ -3243,12 +3242,13 @@ PRINT CR/FORMAT=F5.2.
 END MATRIX.
 ])
 AT_CHECK([pspp matrix.sps -O format=csv], [0], [dnl
-Table: Matrix Variables
-,Rows,Columns,Size (kB)
-CR,8,8,0
-MN,1,8,0
-NC,1,8,0
-SD,1,8,0
+Table: Matrix Variables Created by MGET
+,Dimensions,
+,Rows,Columns
+MN,1,8
+SD,1,8
+NC,1,8
+CR,8,8
 
 MN
 24.3   5.4  69.7  20.1  13.4   2.7  27.9   3.7
@@ -3304,6 +3304,45 @@ PRINT NCS2/FORMAT=F5.0.
 PRINT CRS2/FORMAT=F5.2.
 END MATRIX.
 ])
-AT_CHECK([pspp -O format=csv matrix.sps], [dnl
+AT_CHECK([pspp -O format=csv matrix.sps], [0], [dnl
+Table: Matrix Variables Created by MGET
+,Split Values,,Dimensions,
+,s1,s2,Rows,Columns
+MNS1,8,0,1,3
+SDS1,8,0,1,3
+NCS1,8,0,1,3
+CRS1,8,0,3,3
+MNS2,8,1,1,3
+SDS2,8,1,1,3
+NCS2,8,1,1,3
+CRS2,8,1,3,3
+
+MNS1
+21.4   5.0  72.9
+
+SDS1
+6.5   1.6  22.8
+
+NCS1
+106   106   106
+
+CRS1
+1.00   .41  -.16
+.41  1.00  -.22
+-.16  -.22  1.00
+
+MNS2
+11.4   1.0  52.9
+
+SDS2
+9.5   8.6  12.8
+
+NCS2
+10    11    12
+
+CRS2
+1.00   .51   .36
+.51  1.00  -.41
+.36  -.41  1.00
 ])
 AT_CLEANUP
\ No newline at end of file