From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- vo/votools/tests/vodata_001.cl | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 vo/votools/tests/vodata_001.cl (limited to 'vo/votools/tests/vodata_001.cl') diff --git a/vo/votools/tests/vodata_001.cl b/vo/votools/tests/vodata_001.cl new file mode 100644 index 00000000..79beeb3b --- /dev/null +++ b/vo/votools/tests/vodata_001.cl @@ -0,0 +1,27 @@ +# +# VODATA task unit tests + +# Set the test description string. +votest.descr = "VODATA task unit tests" + +vodata.size = 0.05 +vodata.output = "STDOUT" + +delete ("/tmp/svcs.txt", verify-, >& "dev$null") +print ("hst\nchandra\ngsc2.3", > "/tmp/svcs.txt") +delete ("/tmp/pos.txt", verify-, >& "dev$null") +print ("m31\nm32\nm33\n", > "/tmp/pos.txt") + +printf ("Example 1)\n") +vodata ("gsc2.3", "ngc1234") +vodata ("gsc2.3", "@/tmp/pos.txt") +vodata ("gsc2.3", "m31,m51,m93") +vodata ("@/tmp/svcs.txt", "@/tmp/pos.txt") +vodata ("hst,chandra,gsc2.3", "@/tmp/pos.txt") +vodata ("2mass-psc", "dev$ypix") + +printf ("Example 2)\n") +vodata ("any", "IC10", type="image") + +printf ("Example 3)\n") +vodata ("any", "abell2712", type="image", bandpass="x-ray") -- cgit