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
sbncode
sbncode
OpT0Finder
flashmatch
GeoAlgo
unit_test
sbncode/sbncode/OpT0Finder/flashmatch/GeoAlgo/unit_test/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
(
'\033[93mExecuting a unit test for geoalgo Package\033[00m'
)
6
7
# message level: [0,1,2,3] = [debug,info,warning,error]
8
MSG_LEVEL=1
9
10
test_msg.test_msg.level = MSG_LEVEL
11
12
#
13
# Test import
14
#
15
from
test_import
import
test_import
16
if
test_import
(): sys.exit(1)
17
18
#
19
# Test Vector
20
#
21
from
test_vector
import
test_vector
22
if
test_vector
(): sys.exit(1)
23
24
#
25
# Test DistanceAlgo
26
#
27
from
test_distance
import
test_dAlgo
28
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
print
do one_file $F done echo for F in find $TOP name CMakeLists txt print
Definition:
update_sources.sh:94
test_distance.test_dAlgo
def test_dAlgo
Definition:
larcorealg/test/GeoAlgo/test_distance.py:17
Generated by
1.8.5