Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cool
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hans-Peter Deifel
cool
Commits
b33c1f3f
Commit
b33c1f3f
authored
10 years ago
by
Thorsten Wißmann
Browse files
Options
Downloads
Patches
Plain Diff
Add basic testsuite skeleton
parent
202433a6
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
_oasis
+11
-0
11 additions, 0 deletions
_oasis
src/testsuite/Testsuite.ml
+16
-0
16 additions, 0 deletions
src/testsuite/Testsuite.ml
src/testsuite/Testsuite.mli
+12
-0
12 additions, 0 deletions
src/testsuite/Testsuite.mli
src/testsuite/cool-testsuite.ml
+18
-0
18 additions, 0 deletions
src/testsuite/cool-testsuite.ml
with
57 additions
and
0 deletions
_oasis
+
11
−
0
View file @
b33c1f3f
...
...
@@ -110,6 +110,17 @@ Executable coalgcompare
if flag(static)
CCLib: -static
Executable testsuite
CompiledObject: native
Path: src/testsuite/
BuildTools: ocamlbuild
MainIs: cool-testsuite.ml
BuildDepends: libcool
NativeOpt: -cc g++
ByteOpt: -cc g++
CCOpt: -std=c++98 -x c++
if flag(static)
CCLib: -static
# some cabal similar syntax, so steal its syntax highlighting
...
...
This diff is collapsed.
Click to expand it.
src/testsuite/Testsuite.ml
0 → 100644
+
16
−
0
View file @
b33c1f3f
module
CM
=
CoAlgMisc
module
CR
=
CoAlgReasoner
(* sort should be of the form:
sorts = [| (parseFunctor Sys.argv.(2), [0]) |]
*)
type
satCheck
=
bool
*
(
CoAlgMisc
.
sortTable
)
*
string
(* sat * functors * formula *)
type
testResult
=
|
Correct
|
WrongAnswer
|
ParseError
let
runSatCheck
sc
=
WrongAnswer
This diff is collapsed.
Click to expand it.
src/testsuite/Testsuite.mli
0 → 100644
+
12
−
0
View file @
b33c1f3f
(* sort should be of the form:
sorts = [| (parseFunctor Sys.argv.(2), [0]) |]
*)
type
satCheck
=
bool
*
(
CoAlgMisc
.
sortTable
)
*
string
(* sat * functors * formula *)
type
testResult
=
|
Correct
|
WrongAnswer
|
ParseError
val
runSatCheck
:
satCheck
->
testResult
This diff is collapsed.
Click to expand it.
src/testsuite/cool-testsuite.ml
0 → 100644
+
18
−
0
View file @
b33c1f3f
open
CoolUtils
open
Testsuite
module
CF
=
CoAlgFormula
module
CR
=
CoAlgReasoner
module
CM
=
CoAlgMisc
module
L
=
List
let
k
=
[
|
(
CM
.
MultiModalK
,
[
0
])
|
]
let
kd
=
[
|
(
CM
.
MultiModalKD
,
[
0
])
|
]
let
cl
=
[
|
(
CM
.
CoalitionLogic
,
[
0
])
|
]
let
gml
=
[
|
(
CM
.
GML
,
[
0
])
|
]
let
main
=
print_endline
"todo"
let
_
=
main
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment