Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
random
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Glasgow Haskell Compiler
Packages
random
Commits
5541f8cd
Commit
5541f8cd
authored
13 years ago
by
rrnewton
Browse files
Options
Downloads
Patches
Plain Diff
Reactivated big Integer tests that were deactivated on the master branch.
parent
280f9788
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/rangeTest.hs
+2
-2
2 additions, 2 deletions
tests/rangeTest.hs
tests/rangeTest.stdout
+2
-0
2 additions, 0 deletions
tests/rangeTest.stdout
with
4 additions
and
2 deletions
tests/rangeTest.hs
+
2
−
2
View file @
5541f8cd
...
...
@@ -58,8 +58,8 @@ main =
do
checkBounds
"Int"
(
intRange
nb
)
(
approxBounds
random
trials
(
undefined
::
Int
))
checkBounds
"Integer"
(
intRange
nb
)
(
approxBounds
random
trials
(
undefined
::
Integer
))
--
checkBounds "Integer Rbig" (False,-(2^500), 2^500) (approxBounds (randomR (-(2^500), 2^500)) trials (undefined::Integer))
--
checkBounds "Integer RbigPos" (False,1,2^5000) (approxBounds (randomR (1,2^5000)) trials (undefined::Integer))
checkBounds
"Integer Rbig"
(
False
,
-
(
2
^
500
),
2
^
500
)
(
approxBounds
(
randomR
(
-
(
2
^
500
),
2
^
500
))
trials
(
undefined
::
Integer
))
checkBounds
"Integer RbigPos"
(
False
,
1
,
2
^
5000
)
(
approxBounds
(
randomR
(
1
,
2
^
5000
))
trials
(
undefined
::
Integer
))
checkBounds
"Int8"
(
intRange
8
)
(
approxBounds
random
trials
(
undefined
::
Int8
))
checkBounds
"Int16"
(
intRange
16
)
(
approxBounds
random
trials
(
undefined
::
Int16
))
checkBounds
"Int32"
(
intRange
32
)
(
approxBounds
random
trials
(
undefined
::
Int32
))
...
...
This diff is collapsed.
Click to expand it.
tests/rangeTest.stdout
+
2
−
0
View file @
5541f8cd
Int: Passed
Integer: Passed
Integer Rbig: Passed
Integer RbigPos: Passed
Int8: Passed
Int16: Passed
Int32: Passed
...
...
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