Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stdpp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
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
Adam
stdpp
Commits
6c604e56
Commit
6c604e56
authored
4 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
More testing.
parent
dc849367
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/length.ref
+32
-0
32 additions, 0 deletions
tests/length.ref
tests/length.v
+35
-6
35 additions, 6 deletions
tests/length.v
with
67 additions
and
6 deletions
tests/length.ref
+
32
−
0
View file @
6c604e56
...
...
@@ -10,3 +10,35 @@ length
: list ?A → nat
where
?A : [ |- Type]
length
: list ?A → nat
where
?A : [ |- Type]
length
: list ?A → nat
where
?A : [ |- Type]
length
: list ?A → nat
where
?A : [ |- Type]
length
: list ?A → nat
where
?A : [ |- Type]
length
: list ?A → nat
where
?A : [ |- Type]
length
: list ?A → nat
where
?A : [ |- Type]
length
: list ?A → nat
where
?A : [ |- Type]
length
: list ?A → nat
where
?A : [ |- Type]
This diff is collapsed.
Click to expand it.
tests/length.v
+
35
−
6
View file @
6c604e56
From
stdpp
Require
prelude
strings
list
.
(** Check that we always get the [length] function on lists, not on strings. *)
From
stdpp
Require
Import
prelude
.
Check
length
.
From
stdpp
Require
Import
strings
.
Check
length
.
From
stdpp
Require
Import
prelude
.
Check
length
.
\ No newline at end of file
Module
test1
.
Import
stdpp
.
base
.
Check
length
.
Import
stdpp
.
strings
.
Check
length
.
Import
stdpp
.
base
.
Check
length
.
End
test1
.
Module
test2
.
Import
stdpp
.
prelude
.
Check
length
.
Import
stdpp
.
strings
.
Check
length
.
Import
stdpp
.
prelude
.
Check
length
.
End
test2
.
Module
test3
.
Import
stdpp
.
strings
.
Check
length
.
Import
stdpp
.
prelude
.
Check
length
.
End
test3
.
Module
test4
.
Import
stdpp
.
list
.
Check
length
.
Import
stdpp
.
strings
.
Check
length
.
Import
stdpp
.
list
.
Check
length
.
End
test4
.
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