Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-orbit
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Katerina Roukounaki
cloud-orbit
Commits
e8812d3b
Commit
e8812d3b
authored
Nov 19, 2014
by
Yiannis Tsiouris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix imports in tests (need to fix asserts)
parent
f02a8490
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
Tests.hs
Tests.hs
+7
-5
No files found.
Tests.hs
View file @
e8812d3b
import
Prelude
hiding
(
seq
)
import
Test.HUnit
import
Test.HUnit
import
Test.Framework
(
defaultMain
,
testGroup
)
import
Test.Framework
(
defaultMain
,
testGroup
)
import
Test.Framework.Providers.HUnit
import
Test.Framework.Providers.HUnit
import
Bench
(
seq
,
g13
,
g124
,
g1245
)
import
Bench
(
seq
)
import
Utils
(
g13
,
g124
,
g1245
)
main
=
defaultMain
tests
main
=
defaultMain
tests
...
@@ -13,6 +15,6 @@ tests = [ testGroup "Sequential tests" [
...
@@ -13,6 +15,6 @@ tests = [ testGroup "Sequential tests" [
]
]
]
]
test1
=
assertEqual
"g13 11"
"{size,10}"
(
Bench
.
seq
g13
11
)
test1
=
assertEqual
"g13 11"
"{size,10}"
(
seq
g13
11
)
test2
=
assertEqual
"g124 157"
"{size,133}"
(
Bench
.
seq
g124
157
)
test2
=
assertEqual
"g124 157"
"{size,133}"
(
seq
g124
157
)
test3
=
assertEqual
"g1245 157"
"{size,134}"
(
Bench
.
seq
g1245
157
)
test3
=
assertEqual
"g1245 157"
"{size,134}"
(
seq
g1245
157
)
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