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
a94c0e8b
Commit
a94c0e8b
authored
Nov 18, 2014
by
Aggelos Giantsios
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add module with unit tests
parent
38d09209
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
Tests.hs
Tests.hs
+12
-0
No files found.
Tests.hs
0 → 100644
View file @
a94c0e8b
import
Test.HUnit
import
Bench
(
seq
,
g13
,
g124
,
g1245
)
test1
=
TestCase
(
assertEqual
"g13 11"
"{size,10}"
(
Bench
.
seq
g13
11
))
test2
=
TestCase
(
assertEqual
"g124 157"
"{size,133}"
(
Bench
.
seq
g124
157
))
test3
=
TestCase
(
assertEqual
"g1245 157"
"{size,134}"
(
Bench
.
seq
g1245
157
))
tests
=
TestList
[
TestLabel
"seq short"
test1
,
TestLabel
"seq medium"
test2
,
TestLabel
"seq long"
test3
]
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