Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cduce
cduce
Commits
810d01bb
Commit
810d01bb
authored
Aug 26, 2014
by
Pietro Abate
Browse files
Better error reporting in tallyingtest
parent
8d4ec847
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/libtest/tallyingTest.ml
View file @
810d01bb
...
...
@@ -339,8 +339,9 @@ let test_tallying =
let
s_sigma
=
Tallying
.(
s
$$
sigma
)
in
let
t_sigma
=
Tallying
.(
t
$$
sigma
)
in
assert_equal
~
pp_diff
:
(
fun
fmt
_
->
Format
.
fprintf
fmt
"s @ sigma_i = %a
\n
"
Types
.
Print
.
pp_type
s_sigma
;
Format
.
fprintf
fmt
"t @ sigma_i = %a
\n
"
Types
.
Print
.
pp_type
t_sigma
Format
.
fprintf
fmt
"sigma_i = %a
\n
"
Types
.
Tallying
.
CS
.
pp_e
sigma
;
Format
.
fprintf
fmt
"s @@ sigma_i = %a
\n
"
Types
.
Print
.
pp_type
s_sigma
;
Format
.
fprintf
fmt
"t @@ sigma_i = %a
\n
"
Types
.
Print
.
pp_type
t_sigma
)
(
Types
.
subtype
s_sigma
t_sigma
)
true
)
sigma
)
l
...
...
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