All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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)
do one_file $F done echo for F in find $TOP name CMakeLists txt print