#!/usr/bin/env ruby

# tests scheme.ml for public inputs

tests = ["assign-exp.c","equal.c","greater.c","ifelse.c",
"nested-if.c","print.c","test3.c","assign1.c","exp1.c",
"if-else-while.c","less.c","nested-ifelse.c","test1.c","test4.c",
"define1.c","exp2.c","if.c","main.c","nested-while.c","test2.c","while.c"
]

tests.each do
        |test|

        puts "TESTING: #{test}"
        system("ocaml parser.ml #{test}")
end

tests.each do
        |test|

        puts "TESTING: #{test}"
        system("ocaml prettyprint.ml #{test}")
end

