New module to perform decimal floating point arithmetic for charts.
[pspp] / tests / math / chart-geometry.at
diff --git a/tests/math/chart-geometry.at b/tests/math/chart-geometry.at
new file mode 100644 (file)
index 0000000..14e1584
--- /dev/null
@@ -0,0 +1,35 @@
+AT_BANNER([Chart Geometry])
+
+AT_SETUP([Chart Rounding])
+
+AT_CHECK([../../math/chart-geometry-test], [0], [dnl
+0.00648687 0.005
+728815 500000
+8.14431e-07 0.000001
+77611.4 100000
+3.33497 2
+180.426 200
+0.676168 0.5
+2.00744e+08 200000000
+14099.3 10000
+19.5186 20
+1.17473e-07 0.0000001
+166337 200000
+0.00163644 0.002
+1.94724e-09 0.000000002
+2.31564e-06 0.000002
+3.10674e+06 2000000
+5.10314e-05 0.00005
+1.95101 2
+1.40884e+09 1000000000
+78217.6 100000
+])
+
+AT_CLEANUP
+
+
+AT_SETUP([Chart Scale])
+
+AT_CHECK([../../math/chart-get-scale-test], [0], [ignore])
+
+AT_CLEANUP