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
5043b258
Commit
5043b258
authored
10 years ago
by
Thorsten Wißmann
Committed by
Thorsten Wißmann
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add more testcases for K
parent
e8afbb67
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/testsuite/Testsuite.ml
+1
-1
1 addition, 1 deletion
src/testsuite/Testsuite.ml
src/testsuite/cool-testsuite.ml
+9
-2
9 additions, 2 deletions
src/testsuite/cool-testsuite.ml
with
10 additions
and
3 deletions
src/testsuite/Testsuite.ml
+
1
−
1
View file @
5043b258
...
...
@@ -56,7 +56,7 @@ let runSatCheckVerbose (sc:satCheck) =
let
cs
=
colored_string
in
let
sotr
=
terminal_string_of_testResult
in
let
(
expectation
,_,
title
)
=
sc
in
PF
.
printf
"Is %s "
(
cs
"1"
(
columnCreate
5
0
title
));
PF
.
printf
"Is %s "
(
cs
"1"
(
columnCreate
6
0
title
));
PF
.
printf
"%s? → "
(
sotr
expectation
);
let
res
=
runSatCheck
sc
in
(
if
(
res
=
expectation
)
...
...
This diff is collapsed.
Click to expand it.
src/testsuite/cool-testsuite.ml
+
9
−
2
View file @
5043b258
...
...
@@ -23,8 +23,15 @@ let k_testcases: satCheck list =
;
c
Unsat
"<R> ((<R> C) & (<S> False))"
;
c
Unsat
"<X> (<S> False) | <R> ((<R> C) & (<S> False))"
;
c
Unsat
"<X> (<S> False) | <R> ((<R> C) & (<S> False))"
(* Some DL98-Testcases *)
;
c
Sat
"<R> A & <R> B |- [R] C"
;
c
Unsat
"<R> A & <R> B |- [R] (~A & ~B)"
;
c
Unsat
"<R> A & <R> B |- [R] ~B"
;
c
Sat
"<R> A & <R> ~A |- [R] B"
;
c
Unsat
"<R> A & <R> ~A & (B => [R] ~A) |- [R] B"
;
c
Sat
"<R> A & <R> ~A & (B => [R] ~A) & (C => ~D) & (D => ~E) & <R> C & <R> D & <R> E |- True"
;
c
Unsat
"<R> D & <R> E & ((<R> D & <R> E) => [R] E) & ~(D & E) |- True"
;
c
Sat
"(<R> D | <R> E) & ((<R> D & <R> E) => [R] E) & ~(D & E) |- True"
;
c
Sat
"<R> D & <R> E & ((<R> D & <R> E) => [R] E) & (D & E => <R> ~(D&E)) |- True"
]
...
...
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