Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
svf_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
Magnus.Ersdal
svf_project
Commits
b0c1012f
Commit
b0c1012f
authored
7 years ago
by
Magnus.Ersdal
Browse files
Options
Downloads
Patches
Plain Diff
added new test
parent
f7a02115
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test_whole_list.py
+32
-0
32 additions, 0 deletions
test_whole_list.py
with
32 additions
and
0 deletions
test_whole_list.py
0 → 100644
+
32
−
0
View file @
b0c1012f
# -*- coding: utf-8 -*-
"""
Created on Mon Mar 26 23:43:04 2018
@author: Magnus Rentsch Ersdal (magnus.ersdal@uib.no)
"""
"""
requires a pre-load of the commands in a variable called
"
li
"
SE
"""
print
(
"
start!
"
)
import
svf_intepreter
as
interpreter
def
space
():
print
(
"
====================================================================
"
)
def
littlespace
():
print
(
"
------
"
)
starttime
=
time
.
time
()
svf
=
interpreter
.
svfinterpreter
()
space
()
for
test
in
li
:
print
(
"
testing
"
,
test
)
littlespace
()
svf
.
caller
(
test
)
space
()
endtime
=
time
.
time
()
dt
=
endtime
-
starttime
dtm
=
int
(
dt
/
60
)
dts
=
dt
-
(
dtm
*
60
)
print
(
"
operation completed in {a:d} minutes {b:f} seconds
"
.
format
(
a
=
dtm
,
b
=
dts
))
\ No newline at end of file
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