Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
larcorealg
test
GeoAlgo
larcorealg/test/GeoAlgo/unit_test.py
Go to the documentation of this file.
1
import
sys
2
import
test_msg
3
from
test_msg
import
debug, info, error, warning
4
5
print
6
print
'\033[93mExecuting a unit test for geoalgo Package\033[00m'
7
print
8
9
# message level: [0,1,2,3] = [debug,info,warning,error]
10
MSG_LEVEL=1
11
12
test_msg.test_msg.level = MSG_LEVEL
13
14
#
15
# Test import
16
#
17
from
test_import
import
test_import
18
if
test_import
(): sys.exit(1)
19
20
#
21
# Test Vector
22
#
23
from
test_vector
import
test_vector
24
if
test_vector
(): sys.exit(1)
25
26
#
27
# Test DistanceAlgo
28
#
29
from
test_distance
import
test_dAlgo
30
if
test_dAlgo
(): sys.exit(1)
test_import
Definition:
larcorealg/test/GeoAlgo/test_import.py:1
test_vector
Definition:
larcorealg/test/GeoAlgo/test_vector.py:1
test_distance.test_dAlgo
def test_dAlgo
Definition:
larcorealg/test/GeoAlgo/test_distance.py:17
Generated by
1.8.5