summaryrefslogtreecommitdiff
path: root/testsuite/tests/programs/galois_raytrace/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/programs/galois_raytrace/Main.hs')
-rw-r--r--testsuite/tests/programs/galois_raytrace/Main.hs17
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/tests/programs/galois_raytrace/Main.hs b/testsuite/tests/programs/galois_raytrace/Main.hs
new file mode 100644
index 0000000000..4ef9fe3e95
--- /dev/null
+++ b/testsuite/tests/programs/galois_raytrace/Main.hs
@@ -0,0 +1,17 @@
+-- Copyright (c) 2000 Galois Connections, Inc.
+-- All rights reserved. This software is distributed as
+-- free software under the license in the file "LICENSE",
+-- which is included in the distribution.
+
+-- Modified to read sample input directly from a file.
+
+module Main where
+
+import System
+
+import Parse
+import Eval
+
+main = do { str <- readFile "galois.gml"
+ ; mainEval (rayParse str)
+ }