Module test
[hide private]
[frames] | no frames]

Source Code for Module test

 1  #!/usr/bin/env python 
 2  ''' 
 3   
 4  @todo: turn this into a real test runner for everything in the test subdir. 
 5  ''' 
 6   
 7  import binary 
 8  import ais_msg_1 
 9   
10  if __name__=='__main__': 
11   
12      bv = binary.ais6tobitvec('15Mt9B001;rgAFhGKLaRK1v2040@') 
13      msgDict = ais_msg_1.positionDecode(bv) 
14  #for field in msgDict: 
15  #    print field, msgDict[field] 
16      ais_msg_1.positionPrint(msgDict) 
17