Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gast
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
clean-and-itasks
gast
Commits
d1b475bc
Commit
d1b475bc
authored
Feb 25, 2018
by
Steffen Michels
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed behaviour of \/: show failed assertions on both sides
parent
e7a76960
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
Libraries/Gast/StdProperty.icl
Libraries/Gast/StdProperty.icl
+7
-7
No files found.
Libraries/Gast/StdProperty.icl
View file @
d1b475bc
...
...
@@ -75,15 +75,15 @@ instance \/ Bool Bool where (\/) x y = prop (x || y)
instance
\/
Property
Bool
where
(\/)
x
y
=
x
\/
prop
y
instance
\/
Bool
Property
where
(\/)
x
y
=
prop
x
\/
y
instance
\/
Property
Property
where
(\/)
x
y
=
Prop
(
or
x
y
)
where
or
x
y
genState
r
=
case
testAnalysis
r
(
evaluate
x
genState
r
)
of
r
=:{
res
=
OK
}
=
[
r
]
r
=:{
res
=
Pass
}
=
case
testAnalysis
r
(
evaluate
y
genState
r
)
of
where
(\/)
x
y
=
Prop
(
or
x
y
)
where
or
x
y
genState
r
=
case
testAnalysis
r
(
evaluate
x
genState
r
)
of
r
=:{
res
=
OK
}
->
[
r
]
r
=:{
res
=
Pass
}
->
case
testAnalysis
r
(
evaluate
y
genState
r
)
of
r2
=:{
res
=
OK
}
=
[
r2
]
=
[
r
]
=
evaluate
y
genState
r
r
->
evaluate
y
genState
r
(<==>)
infix
1
::
!
a
!
b
->
Property
|
Testable
a
&
Testable
b
// True if properties are equivalent
(<==>)
p
q
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment