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
ee45f2fd
Commit
ee45f2fd
authored
10 years ago
by
Thorsten Wißmann
Browse files
Options
Downloads
Patches
Plain Diff
Add testcases for nominal
parent
abc6c263
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/testsuite/cool-testsuite.ml
+11
-1
11 additions, 1 deletion
src/testsuite/cool-testsuite.ml
with
11 additions
and
1 deletion
src/testsuite/cool-testsuite.ml
+
11
−
1
View file @
ee45f2fd
...
...
@@ -22,6 +22,15 @@ let k_testcases: satCheck list =
;
c
Sat
"C |- [R] ~C"
]
let
nominal_testcases
=
let
c
a
b
=
(
a
,
k
,
b
)
in
[
c
Sat
"@ i' <r> p"
;
c
Sat
"@ i' <r> i'"
;
c
Unsat
"@ i' <r> i' & @i' [r] ~ i'"
;
c
Sat
"@ i' [r] (@ i' (~i')) "
]
let
kd_testcases
=
let
c
a
b
=
(
a
,
kd
,
b
)
in
[
c
Sat
"True"
...
...
@@ -36,12 +45,13 @@ let kd_testcases =
let
testcases
=
let
c
name
table
=
(
name
,
table
)
in
[
c
"K"
k_testcases
;
c
"Nominals"
nominal_testcases
;
c
"KD"
kd_testcases
]
let
main
=
foreach_l
testcases
(
fun
(
name
,
table
)
->
Printf
.
printf
"
\n
==== Testing
logic
%s ====
\n
"
name
;
Printf
.
printf
"
\n
==== Testing %s ====
\n
"
name
;
foreach_l
table
runSatCheckVerbose
)
...
...
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