Permalink
Browse files

added appropriate pragmas to top of spec files

  • Loading branch information...
1 parent 83da7af commit 62db4106a89b73fb5ce89d74ea48808750d2dbed @rapha committed Apr 30, 2011
Showing with 21 additions and 1 deletion.
  1. +1 −1 Makefile
  2. +11 −0 spec/columns_spec.ml
  3. +9 −0 spec/line_spec.ml
View
@@ -13,7 +13,7 @@ game.cmxa: src/piece.cmx src/row.cmx src/col.cmx src/columns.cmx src/line.cmx sr
$(OCAMLOPT) -a -package batteries src/piece.cmx src/row.cmx src/col.cmx src/columns.cmx src/line.cmx src/lines.cmx src/board.cmx src/player.cmx src/ai.cmx src/game.cmx -o game.cmxa
spec: game.cma spec/*.ml
- ospecl -I src spec/*.ml
+ ospecl -I src -color spec/*.ml
tui.byte: game.cma src/tui.ml
$(OCAMLC) -thread -linkpkg game.cma src/tui.ml -o tui.byte
View
@@ -1,6 +1,17 @@
+#use "topfind"
+
+#require "unix"
+#require "ospecl"
open Ospecl.Spec
open Ospecl.Matchers
+#require "batteries"
+open Batteries_uni
+
+#load "col.cmo"
+#load "row.cmo"
+#load "columns.cmo"
+
let specs = [
describe "Columns" [
describe ".append" begin
View
@@ -1,6 +1,15 @@
+#use "topfind"
+
+#require "unix"
+#require "ospecl"
open Ospecl.Spec
open Ospecl.Matchers
+#require "batteries"
+open Batteries_uni
+
+#load "line.cmo"
+
let specs = [
describe "Line" [
describe ".include cell" [

0 comments on commit 62db410

Please sign in to comment.