Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101851510
test_bindings.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Feb 14, 09:23
Size
397 B
Mime Type
text/x-python
Expires
Sun, Feb 16, 09:23 (2 d)
Engine
blob
Format
Raw Data
Handle
24242180
Attached To
rLIBMULTISCALE LibMultiScale
test_bindings.py
View Options
#!/usr/bin/env python3
import
os
import
numpy
as
np
print
(
os
.
getcwd
())
try
:
import
test_python
except
Exception
:
print
(
"cannot load test_python"
)
def
test_length
():
test_python
.
Length1Real
(
1.
)
test_python
.
Length2Real
(
np
.
random
.
rand
(
2
))
test_python
.
Length3Real
(
np
.
random
.
rand
(
3
))
test_python
.
Length4Real
(
np
.
random
.
rand
(
4
))
test_python
.
Length5Real
(
np
.
random
.
rand
(
5
))
Event Timeline
Log In to Comment